General information
Category:
Coding, syntax & commands
Title:
Command works in command windows but not program. Why?
I type the following commands in the command window and they work well :-
h=sqlconnect("aimaceff")
x=sqlexec(h, "select * from machine where maccode='111'")
?sqlresult.descrip
But, when i type the same commands in my program, and run the program, the error message "Alias 'SQLRESULT' is not found."
Can anyone tell me why?
For your information, aimaceff is the data source name for ODBC connection and machine table consists of maccode and descrip columns.
Thank U.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only