Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logical field from Oracle
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00699803
Message ID:
00700137
Vues:
16
>How do I create the equivalent of a logical field in Oracle, which becomes a VFP logical field when I do a SQLEXEC("select *...") ?

The best you can do is a 1 digit numeric that accepts 0 or 1 values. A VFP checkbox will treat a 0 as false and 1 as true. As for SPT, retrieve the data into a temp cursor, then issue a second SQL on the cursor --
IF SQLEXEC(nHandle, 'SELECT * FROM ORACLE_TABLE', 'crsTemp') > 0
   SELECT (field1=1) field1 FROM crsTemp INTO CURSOR crsFinal
ENDIF
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform