R
Rich Wallace
Hi all,
I've scanned over previous posts but I'm still not feeling comfortable with
making a decision on using an Array or a Structure for what I need to do.
If someone can point me in the right direction, I would truly appreciate it.
I have a RecordSet from third-party solution which queries an IBM AS400 and
contains the following records:
1 - "A", "900000.00"
2 - "B", "950000.00"
3 - "C", "1000000.00"
When I retrieve the recordset, I need to have the data sorted by the second
value and loop through the records and perform other tasks based on the
current record. The problem is, the tool only sends me text or string
values back instead of an integer, so I can't do an order by (SQL statement
based query) on the second value as it will put the "1000000.00" value first
instead of "900000.00". I understand that I can perform some kind of Sort
against an array and I thought maybe I could send both values within each
record to an Array and use that to loop though but I've never used Arrays
before so I'm a bit lost.
Can somebody help??
TIA
-Rich
I've scanned over previous posts but I'm still not feeling comfortable with
making a decision on using an Array or a Structure for what I need to do.
If someone can point me in the right direction, I would truly appreciate it.
I have a RecordSet from third-party solution which queries an IBM AS400 and
contains the following records:
1 - "A", "900000.00"
2 - "B", "950000.00"
3 - "C", "1000000.00"
When I retrieve the recordset, I need to have the data sorted by the second
value and loop through the records and perform other tasks based on the
current record. The problem is, the tool only sends me text or string
values back instead of an integer, so I can't do an order by (SQL statement
based query) on the second value as it will put the "1000000.00" value first
instead of "900000.00". I understand that I can perform some kind of Sort
against an array and I thought maybe I could send both values within each
record to an Array and use that to loop though but I've never used Arrays
before so I'm a bit lost.
Can somebody help??
TIA
-Rich