Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL question
Message
De
18/02/2000 13:20:35
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SQL question
Divers
Thread ID:
00334207
Message ID:
00334207
Vues:
54
I have a table with these fields; cdesc, nprice.

I can SELECT * FROM mytable WHERE cdesc = "". This will produce a cursor with all records in the results, which is what I want.

How can I do the same for the numeric field?

SELECT * FROM mytable WHERE cdesc = "" AND nprice = 0 only brings up the records with 0 in nprice. I want all the records. Then I want the user to narrow the search like this;
SELECT * FROM mytable WHERE cdesc = cvar AND nprice = nvar

How can I do this?

Thanks,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform