Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP vs PowerBuilder
Message
De
25/05/1999 18:19:10
 
 
À
25/05/1999 10:48:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00221913
Message ID:
00222694
Vues:
35
>Hi Bob
>I never used PB to any extent, so I am just curious, does PB support macro substitution (like in: cSelect = "SELECT...", &cSelect) ?
>Alex.

I am not 100% sure, but, due to that fact that PB has strict data typing, you must declare a variable type (of course you can declare it as ANY), I am going to say no... but, you can combine your embeded SQL with variables, like...

SELECT emp_id, salary INTO :li_emp :ldc_pay from
EMPLOYEE where emp_id = :li_which_emp using SQLCA;

All the things that start with : are PB variables.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform