Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Results of SQLEXEC() into a CURSOR with a specified name

Status
Not open for further replies.

benasumwa

Programmer
Oct 14, 2003
57
KE
Hi friends

Thanks to all for your helpful tips/hints.

I have trouble with SQLMORERESULTS()

This is the scenario:

Code:
=SQLSETPROP(nHandle,"Asynchronous",.T.)
nResult=SQLEXEC(nHandle,"SELECT * FROM GLTRANFI","GLTRANFI")
nResult=SQLEXEC(nHandle,"SELECT * FROM GLACCOUN","GLACCOUN")

The second SQLEXEC() call generates the error below:

Invalid call issued while executing a SQLMORERESULTS() sequence

Iam preparing my data session for editting. The tables are relatively small.(no stress on the network). I am unable to know why the error comes and how to incorporate the said
SQLMORERESULTS() function here.


Please help. Many thanks.


---------------------------
Benson O. A.
Infinity Link Limited
 

Hi Mike,

I must say I appreciate greatly your answer. It has actually
given me several tips on how to approach the whole thing
Thank you very much! Most of my dilemmas are sorted now.
You know I am just getting into the client/server stuff
and surely receiving such well thought out responses is a real boost to my confidence to continue!

I must say thank you very much!

---------------------------
Benson O. A.
Infinity Link Limited
 

Thanks Mike!

---------------------------
Benson O. A.
Infinity Link Limited
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top