Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a record with buffering
Message
From
25/05/1999 14:08:47
 
 
To
25/05/1999 14:02:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222588
Message ID:
00222601
Views:
37
>Here's the normal steps:
>
1. Add.Click():
>      SELECT MyTable
>      APPEND BLANK
>2. Let the user enter the data
>3. Save.Click(): TableUpdate()
HTH
>

Do't forget:

4. Cancel.Click(): TableRevert()

>>My form has a data environment with table buffering = 2. The data-entry textboxes in the form have tablename.fieldname as their ControlSource. To add a new record, my add button Click event has the following code: select the table, append blank and execute a tableupdate(.T.).
>>
>>The append blank works, but no data goes into the table. Can anyone please tell me what I'm missing? Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform