the data in the loop. Here is what I have so far.
This appears to return the id of the query livecode has assigned it. but from there i'm not sure how to get the data.
Code: Select all
put revQueryDatabase(conID,tSQL) into tCursor
put revDataFromQuery(tab,return,conID,tSQL) into tRecords
so its my understanding I need to change over to using revDataFromQuery to revQueryDatabase but I can't seem to find any
examples using it in a repeat loop so I'm not sure how to actually loop the data and refer to the columns in the loop.
Code: Select all
repeat with i = 1 to the number of lines of tRecords
answer line i of tRecords
end repeat