If you are working directly with the table, not with a view, CurVal() return the current value in the table. No need to do a refresh in that case.
HTH
>The following excerpt is take from the help for CURVAL. If you are using native tables what is the equivalent to Refresh()? Is there one?
>
>"Note If you are working with a view in a multi-user environment, the values returned by CURVAL( ) might not be up to date unless you call the REFRESH( ) function first. Data returned by a view is buffered, and the CURVAL( ) function reads values from the buffer. However, if other users have changed data in the underlying tables for the view, the buffered data is not updated until the REFRESH( ) function is called."
>
>RLOCK
>UNLOCK does not work.
>
>Goto Recno() does not work.
>
>I have ask this question before but can't seem to get a answer. Help!
Précédent
Suivant
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