while(qry.NextRow())
if(qry.item[1])
What does NextRow() do and return?
What would qry.item[1] have in it?
For example if I were to send a select query to get data. Then the results would be in item right? But what if there was no result from the select query. Is item null then? Is item[1] null? Does item[1] even exists? Would item[1] being sent over a text string to the user as output cause an unknown error and make the string not be sent?
Example
usr << "Data: [qry.item[1]]" // Sends nothing...
usr << "Data: [isnull(qry.item[1])]" // Sends nothing...
// BUT
usr << "Data: [isnull(qry.item)]" // Results in Data: 0
That is what I get when I send a select query that results in nothing. So deoes sending any list data that isn't there like lstone[22002] shut down the string from being sent?
Thanks for any help. This DB lib is kidna confusing with the little information they have on it.