Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie client/server question, SQLEXEC() syntax for AS400
Message
De
11/08/1998 22:04:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Newbie client/server question, SQLEXEC() syntax for AS400
Divers
Thread ID:
00125846
Message ID:
00125846
Vues:
80
I've just created a connection to an AS400 but I'm having trouble issuing a simple SQLEXEC() to test it out. I'm getting back valid handles when I issue SQLCONNECT(). It appears that it doesn't like the syntax I'm passing in my SQL statement:

lnResult=sqlexec(lni, "Select * FROM HMPTKMSZ")

where lni is a valid connection handle. HMPTKMSZ is a valid table. I was able to verify that with SQLTABLES(). I tried "SELECT * from BMC2!HMPTKMSZ" where bmc2 is the table qualifier that SQLTABLES() returns, that didn't work either. Does anyone know how to reference a table on the AS400?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform