Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REALLY NEW to VFP
Message
 
À
15/11/1997 16:31:30
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00060509
Message ID:
00060511
Vues:
18
>I have a menu-driven project with a bunch of utility prgs and reports that run procedurally. I need to learn how to create a form to get user input to use as paramters for some new reports, such as a beginning and ending date.
>
>Thanks in advance
>
>Bob

In your file menu, pick New, and Form, and you'll have an empty form. Add text boxes for each parameter you need. If your textbox is named 'TxtDateBeg' and 'TxtDateEnd' you would refer to the values typed in by the user as "thisform.TxtDateBeg.value" (no quotes, of course). Finally, to force date input, in the VALUE property of each box put { } (braces with a couple of spaces between them).

If you're REALLY new, you might want to get a basic book on VFP. There are several listed in the Classified section here, and most come with disks/CDs of examples.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform