General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
*SQLPREPARE(m.Handle, 'SELECT * FROM useraccess', 'test')
*SQLEXEC(m.Handle)
*SQLEXEC(m.Handle, "use RemoteAccess")
IF SQLExec(m.Handle, "SELECT * FROM useracess", "test") 0
MESSAGEBOX("Success")
ELSE
MESSAGEBOX("Failed")
ENDIF
lnResult = SQLEXEC(m.Handle, "SELECT * FROM useracess", "test")
DO CASE
CASE lnResult 0
AERROR(laError)
MessageBox(laError[1,2])
RETURN
CASE lnResult = 0
OTHERWISE
MESSAGEBOX('No Error')
*** Success
ENDCASE
Messagebox results:Failed, No error
Previous
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