Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REALLY NEW to VFP
Message
 
To
15/11/1997 16:31:30
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00060509
Message ID:
00060511
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform