D
dave
ok i have a recordset object called Records and a string called myString i
then have the following code:
Records.MoveFirst
Do While Not Records.EOF
myString = myString & "<field1>"
myString = myString & Records(0)
myString = myString & "<field2>"
myString = myString & Records(1)
myString = myString & "<field3>"
myString = myString & Records(2)
Records.MoveNext
Loop
this works fine for the first three iterations then on the fourth Records(2)
says it contains Null even though it does not. Also the loop stops after that
iteration even though there is another row of data. any ideas on what could
be going on. thanks in advance
then have the following code:
Records.MoveFirst
Do While Not Records.EOF
myString = myString & "<field1>"
myString = myString & Records(0)
myString = myString & "<field2>"
myString = myString & Records(1)
myString = myString & "<field3>"
myString = myString & Records(2)
Records.MoveNext
Loop
this works fine for the first three iterations then on the fourth Records(2)
says it contains Null even though it does not. Also the loop stops after that
iteration even though there is another row of data. any ideas on what could
be going on. thanks in advance