I have written a query joining 2 tables. When i execute the same in winSQL it is displaying the correct records from the databse. But the same thing, when i exceute using winRunner function in the scipt:
db_execute_query("dbConnect", qry, intCnt),
The record count (intCnt) is displaying -1.
Can someone suggest why it is happening so?
Thanks in advance.
1) the query you have built
2) the code you have written to execute the query.
You have provided the volunteer community here very little information about your problem. You need to think of this as a bug report.....Would a developer allow you to only report what you have and expect to know what is going on?
Follow up with another post containing the query and the code you are using (and please use the code tags this site provides, it makes reading it far easier for the rest of us), and if someone can help and I am more than sure they will.