Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prompting for values
Message
De
09/04/2004 15:30:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00893677
Message ID:
00893688
Vues:
19
>Is there a simple way to have a query or sql - select statement prompt for the value of a variable? It seems overkill to open the query designer, or modify program code, or open a form just to run the same query for different date.
>
>Any ideas?
select ... for MyField = ?SomeVariable
will prompt for a value if "SomeVariable" doesn't exist. Since the dialog isn't very user-friendly, it is usually better to make sure that "SomeVariable" has a value before running the query.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform