Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update view or table through form
Message
De
05/03/1998 15:54:35
David Wang
Sullivan Environmental Consulting, Inc.
Alexandria, Virginie, États-Unis
 
 
À
05/03/1998 15:20:17
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00082798
Message ID:
00082813
Vues:
37
>>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
Fil
Voir

Click here to load this message in the networking platform