Hello again VFP gurus...
I have the following dilemma;
when I pass a value of 209475 to this code SQLExec statement number one results in a blank table,
SQLExec statement number two works fine.
What am I doing wrong?
PARAMETERS nID
LOCAL lnHandle
lnHandle = SQLConnect("CE", "stevemm", "suvford")
IF lnHandle > -1
SQLExec(lnHandle,"SELECT * FROM NOTEIINFO WHERE NOTEINFO.ID = nID","RESULTS")
SQLExec(lnHandle,"SELECT * FROM NOTEINFO WHERE NOTEINFO.ID = 209475","RESULTS")
SELECT * FROM RESULTS INTO TABLE NOTEInfo
USE
SQLDisconnect(lnHandle)
ENDIF
I have the following dilemma;
when I pass a value of 209475 to this code SQLExec statement number one results in a blank table,
SQLExec statement number two works fine.
What am I doing wrong?
PARAMETERS nID
LOCAL lnHandle
lnHandle = SQLConnect("CE", "stevemm", "suvford")
IF lnHandle > -1
SQLExec(lnHandle,"SELECT * FROM NOTEIINFO WHERE NOTEINFO.ID = nID","RESULTS")
SQLExec(lnHandle,"SELECT * FROM NOTEINFO WHERE NOTEINFO.ID = 209475","RESULTS")
SELECT * FROM RESULTS INTO TABLE NOTEInfo
USE
SQLDisconnect(lnHandle)
ENDIF