Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update view or table through form
Message
From
05/03/1998 15:54:35
David Wang
Sullivan Environmental Consulting, Inc.
Alexandria, Virginia, United States
 
 
To
05/03/1998 15:20:17
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00082798
Message ID:
00082813
Views:
33
>>I have a wizard form which is based on a view. The view was based on two tables. I added new records through this form. But the new record
>>would disappear if I reenter the form.
>>I put codes in the init even of the form which is based on view.
>>The codes were:
>> 'set multilocks on
>> =cursorsetprop('buffer',5)'
>>
>>I thought this would take care the buffer problem. But it still would not save my new records . How can I correct it?
>
>By writing CURSORSETPROP("buffer", 5) you are turning buffering on. You need to issue a TABLEUPDATE(0,.T., "tablename") to comit the and write the change to disk.
>
>Ed

Thanks ED. But where should I put the code? Form's init events?

David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform