Andy Trezise
2005-11-15 22:51:18 UTC
I have a table that I open in buffer mode 4.
I switch from my form to another form (changing to the parent forms
DataSessionID - don't know if this is technicallly correct).
I then append a new record to my table....I don't use TABLEUPDATE at this
point....and return to the parent form.
The grid on that form shows the newly added record but it is not in the
correct index sequence. After a few seconds the grid seems to sort itself
out and the new record slots into it's correct position.
I assume that this is because of the table buffering but can't understand
why. I've tried a FLUSH but that has no effect (I suppose that's because
FLUSH only commits updated records ie. where you've done a tableupdate()).
Just wondered if anyone else had seen this behaviour and whether there was a
way around it.
I don't want to loose the functionality that buffering brings but it
sometimes seems more hassle than it's worth.
I switch from my form to another form (changing to the parent forms
DataSessionID - don't know if this is technicallly correct).
I then append a new record to my table....I don't use TABLEUPDATE at this
point....and return to the parent form.
The grid on that form shows the newly added record but it is not in the
correct index sequence. After a few seconds the grid seems to sort itself
out and the new record slots into it's correct position.
I assume that this is because of the table buffering but can't understand
why. I've tried a FLUSH but that has no effect (I suppose that's because
FLUSH only commits updated records ie. where you've done a tableupdate()).
Just wondered if anyone else had seen this behaviour and whether there was a
way around it.
I don't want to loose the functionality that buffering brings but it
sometimes seems more hassle than it's worth.