Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I Turn off Prefilling?
Message
From
22/03/1999 13:11:12
 
 
To
22/03/1999 12:57:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00200560
Message ID:
00200569
Views:
10
Here how I do it:
- The tables are buffered
- Issue a APPEND BLANK
- Refresh the form (all text boxes should be blank by now)
- The user click on Save: TableUpdate()
- The user click on Cancel: TableRevert()

HTH

>Hi, and thanks again for your help in the past. I'm doing a
>form for data entry now, and trying to find out how to prevent
>data from the previous record from appearing in the text fields
>when adding a new record to a file. I've gone to the Tools->
>Options->General page, and Unchecked the box to "Fill new records
>with current values", setting that as a default, but it's not
>having the effect I hoped.
>
>My goal is to have a clean screen for entry of new records
>into a file, as the information is not generally very repetitive
>when adding new records. I only want to do this when adding
>records, otherwise I could blank out the display on the Getfocus()
>event. But I'm trying to use the same form for editing existing
>records and even inquiry if I can get away with it.
>
>I'm sure this information exists somewhere, but I haven't seen
>it yet in the online help or the two books I have, from Que and
>Microsoft().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform