Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized query dialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00330308
Message ID:
00330320
Vues:
44
>Does anyone know of anyway that you can change the title of the dialog box (from "View Parameter" to something that is more user friendly) that pops up asking for a parameter when a paramatized view runs?

Hi Ryan,

Why not build your own dialog box (with the desired title), asking the user for the parameter, and then REQUERY() the parameterized view?

Something like this:
(assuming the parameter is called lcParamValue)
LOCAL lcParamValue
lcParamValue = ""
DO FORM MyParameterDialog ;
  TO lcParamValue
= REQUERY( "MyParameterizedView" )
Obviously, you'd want the form to be modal, and you'd want to RETURN the parameter value in the Unload() method of the form.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform