Perhaps what I was seeing wasn't the difference between rs.idxfield and
rs.field, but another problem
After loading a recordset, if I reference the value of a field that contains
a string, it seems to delete the
Field's value. I put in the loop below to see why a field that I knew
contained data didn't seem to, and it's does
The first time through the loop and doesn't the second time through the
loop.
What's up with this?
Steve
for lp = 1 to grsd.fieldCount
t = ":" + grsd.idxfield(lp).value+":"
system.debugLog t
next
for lp = 1 to grsd.fieldCount
t = ":" + grsd.idxfield(lp).value+":"
system.debugLog t
next
[1172] In Constructor
[1172] newReceipt
[1172] First time through
[1172] :6:
[1172] :19:
[1172] :C:\MX\MXSHEL~1bin\TASKPAD\images\MX300.gif
:
[1172] :True:
[1172] :True:
[1172] :True:
[1172] :False:
[1172] ::
[1172] ::
[1172] ::
[1172] :True:
[1172] :0:
[1172] :0:
[1172] :0:
[1172] :0:
[1172] Second time through
[1172] :6:
[1172] :19:
[1172] ::
[1172] :True:
[1172] :True:
[1172] :True:
[1172] :False:
[1172] :False:
[1172] :False:
[1172] :False:
[1172] :True:
[1172] :0:
[1172] :0:
[1172] :0:
[1172] :0:
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|