Function refresh_after_post

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
User avatar
tkszeos
Junior Boarder
Junior Boarder
Posts: 35
Joined: 26.08.2005, 21:45

Function refresh_after_post

Post 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
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post 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.
User avatar
tkszeos
Junior Boarder
Junior Boarder
Posts: 35
Joined: 26.08.2005, 21:45

Post 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
noelc
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 13.06.2006, 10:54

Post by noelc »

Ciao Nicola!

Forse questa La serve....

Code: Select all

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