Refreshing current record in a form (Feature request ?)
Ernesto Revilla <[email protected]> Tue, 30 Aug 2005 16:40:55 +0200
| Newsgroups | gmane.comp.db.rekall.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0469657877== Content-Type: multipart/alternative; boundary="----=_Part_924_18700303.1125412855718" ------=_Part_924_18700303.1125412855718 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello. I have the typical parent-child form for invoices (or orders) introducing= =20 article lines with quantity, price and total amount. At the bottom of the= =20 form a box should display the total amount of the invoice. This is=20 calculated using a trigger inside the postgresql database.=20 There is no refresh operation I can call from python, in the post-sync=20 event. I think that a requery operation won't do it, because it re-executes= =20 the query for the main form, will reset the focus, eventually jump to=20 another record and do a lot of extra work that I don't need. I just want to= =20 re-read the data for the current record of the main form. (excactly the=20 operation that is done after record insertion or update). How could this be accomplished ? ------=_Part_924_18700303.1125412855718 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello.<br> <br> I have the typical parent-child form for invoices (or orders) introducing article lines with quantity, price and total amount. At the bottom of the form a box should display the total amount of the invoice. This is calculated using a trigger inside the postgresql database. <br> <br> There is no refresh operation I can call from python, in the post-sync event. I think that a requery operation won't do it, because it re-executes the query for the main form, will reset the focus, eventually jump to another record and do a lot of extra work that I don't need. I just want to re-read the data for the current record of the main form. (excactly the operation that is done after record insertion or update).<br> <br> How could this be accomplished ?<br> ------=_Part_924_18700303.1125412855718-- --===============0469657877== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rekall-devel mailing list [email protected] http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall-devel --===============0469657877==--