General information
Category:
Coding, syntax & commands
>>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
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