Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Statement in Comboboxes
Message
De
31/10/2001 03:08:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Statement in Comboboxes
Divers
Thread ID:
00575492
Message ID:
00575492
Vues:
37
Hi All,
I have a combobox that's supposed to display values from one of two tables depending on a condition from a textbox on the same form. Soemthing like:

IF THISFORM.text1.VALUE = 1
SELECT table1
ELSE
IF THISFORM.text1.VALUE = 2
SELECT table2

How do I phrase my SQL on the RowSource for this to work? Thanks in advance for all your answers.

Richard.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform