Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement