Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table buffering changes between 3 and 5?
Message
De
01/12/1996 11:06:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00013424
Message ID:
00013883
Vues:
30
>>unless i'm missing something...
>>
>>in vfp3, with optimistic tablebuffering on, i could change a field and wo/ forcibly leaving the field (tab or enter), click on a save button and the changes would be saved.
>>
>>in 5, i must leave the field (tab or enter) before clicking on a save button or the changes will NOT be saved.
>>
>>am i imagining this?
>Dave,
>For a solution to this problem take a look at the writebuffer method in the baseform class of the TasTrade sample code. This method is called by the save method to force the value to be saved if you haven't left the field.
>
>Steve
well I don't know what's written there but basically something like
replace (this.activecontrol.controlsource) with this.activecontol.value
should do it
naturally you may want to add some checks that the controlsource is defined or if the field is deleted etc.


Arnon































sho
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform