G
Guest
Hello i'm trying to read data from a table in a loop and put it in a long
string so i have code that looks like this
data() = Records.GetRows(Records.Properties.Count)
For i = 0 To Records.RecordCount
outputString = outputString + "|"
outputString = outputString + CStr(data(0, i))
outputString = outputString + "|"
outputString = outputString + CStr(data(1, i))
outputString = outputString + "|"
outputString = outputString + CStr(data(2, i))
Next
This all looks good to me however there are two problems
1) it only reads the first 5 records ignoring the 6th record
2) uppon reaching data(2,4) it contains Null and i get an illegal use of
Null error
am i doing someting wrong?? thanks!!
string so i have code that looks like this
data() = Records.GetRows(Records.Properties.Count)
For i = 0 To Records.RecordCount
outputString = outputString + "|"
outputString = outputString + CStr(data(0, i))
outputString = outputString + "|"
outputString = outputString + CStr(data(1, i))
outputString = outputString + "|"
outputString = outputString + CStr(data(2, i))
Next
This all looks good to me however there are two problems
1) it only reads the first 5 records ignoring the 6th record
2) uppon reaching data(2,4) it contains Null and i get an illegal use of
Null error
am i doing someting wrong?? thanks!!