>>As we know that changing record pointer will commit change automatically, now I issue a TableUpdate(.T., .T.) command in a grid and then refresh that grid immediately, but I can't see the updated result in grid? Why? (I don't change the record pointer, just issue the TableUpdate() command)
>>
>>Any suggestions will be great appreciated,
>>I've been stuck in this puzzle for a long time...
>
>Chris
>
>Re-Read the Help section on the TABLEUPDATE( ) Function. Your syntax is wrong to begin with.
>
>Tom
Hi, All:
Sorry I described my question incorrectly:
(1) I mis-spell the TableUpdate() syntax, in fact I issued
TableUpdate(1, .T.), thanks Tom.
(2) No, I'm not using remote view, thanks Nabil.
(3) Grid doesn't have ReQuery method, thank Larry.
(4) And, yes, my grid will be refreshed if I issue
TableUpdate()!
But what I feel it strange is if you specify a valid routine
in validation rule of table designer, then TableUpdate() won't
fire that routine, but it will be fired if you put your validation
routine in the Update Trigger. Is it normal in VFP5?
Thanks you all!
Précédent
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