Page 1 of 1

Function refresh_after_post

Posted: 15.07.2006, 21:15
by tkszeos
How it is possible to realize a function of the type "refresh_after_post" that read the content of the current record endured after an insertion or one variation?

Nicola

Posted: 16.07.2006, 09:11
by zippo
It's called trigger any if I assume you mean MySQL, then you must use the 5.x version. Consult the MySQL manual.

Posted: 16.07.2006, 15:08
by tkszeos
Thanks for the answer, but I use Firebird 1.5.3. He would serve to me, in some cases, to execute refresh of the current record after a post for being able to read again eventual values elaborates on the server (like, as an example, a computed field).
Thanks for the answers that you will want give to me
Nicola

Posted: 18.07.2006, 16:50
by noelc
Ciao Nicola!

Forse questa La serve....

Code: Select all

try
  ZQuery.Post
  ZQuery.Resync(rmExact);
except
  ...
end;