General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only