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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error symbol is undefined or unable to be referenced

Status
Not open for further replies.

jipsi

IS-IT--Management
Jul 11, 2003
4
0
0
FR
Hello

I have this message SQL Centura Windows/32:
"Error symbol is undefined or unable to be referenced from current location :col LPI_NUM"

but not systematik

somebody have an idea of the signification of this enigma?

thank's

jipsi
 
At First: don´t use spaces in variable- or object-names:
wrong: col LPI_NUM
correct: colLPI_NUM

then try to use the SqlVarSetup( SqlHandle ) function of SQLWindows before you execute the Sql-Statement in SQLWindows.

If you still have the same problem define a global variable for this column and set the column-value during the fetch-next-process:
f.e.:

Set sSQL = "Select name from info into :gv_sName"
If SqlPrepare( hSqlConnect, sSQL )
If SqlVarSetup( hSqlConnect )
If SqlExecute( hSqlConnect )
While SqlFetchNext( hSqlConnect, nFetch )
Set colName = gv_sName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top