Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec & SQLPREPARE not being executed
Message
De
03/08/2011 11:36:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01520048
Message ID:
01520069
Vues:
48
*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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform