Author: Hiten K M
Posted: 1999-11-10 08:34:18 Link
I have a table in which i store account information after every new record I have to re-query the table to show some updated information which is updated in the aftersave method of the bizObj. I have tried seeking the old value before the re-query but it does not work. If any one has any Idea then please help me !
Hiten K M
hitenkm@emirates.net.ae
www.huiyang.net/hitenkm
Author: Bob Archer
Posted: 1999-11-10 09:39:56 Link
<I><FONT COLOR="#663300">I have a table in which i store account information after every new record I have to re-query the table to show some updated information which is updated in the aftersave method of the bizObj. I have tried seeking the old value before the re-query but it does not work. If any one has any Idea then please help me ! </FONT></I>
If you are ON a record, and you change the record, and save the record, all with out changing the record pointer, you should be able to use Refresh() to re-read the values stored in the table. Don't forget to also Refresh your form so it will show the new values.
BOb
Author: Hiten K M
Posted: 1999-11-10 11:21:57 Link
<I><FONT COLOR="#663300"><I><FONT COLOR="#663300">I have a table in which i store account information after every new record I have to re-query the table to show some updated information which is updated in the aftersave method of the bizObj. I have tried seeking the old value before the re-query but it does not work. If any one has any Idea then please help me ! </FONT></I>
If you are ON a record, and you change the record, and save the record, all with out changing the record pointer, you should be able to use Refresh() to re-read the values stored in the table. Don't forget to also Refresh your form so it will show the new values.
BOb
</FONT></I>
Thanx for the reply. I forgot to mention that on every save I triverse through the table in a spacial sequence and at the end of it I would not know where I will be. Your method will be useful but my case is different.
BTW I did find a solution. I save the PK to a temp var and then seek it in the table and refresh the form. Do u have a better Idea. Please let me
know .
Thank You again.
Hiten K M
hitenkm@emirates.net.ae
www.huiyang.net/hitenkm
Author: Paul Grover
Posted: 1999-11-10 17:18:14 Link
<I><FONT COLOR="#663300">I have a table in which i store account information after every new record I have to re-query the table to show some updated information which is updated in the aftersave method of the bizObj. I have tried seeking the old value before the re-query but it does not work. If any one has any Idea then please help me ! </FONT></I>
The business object has a parameter called lSavePosOnRequery. Set this to .T.
Paul Grover
groverp@wsu.edu
Washington State University at Spokane
Mental Illness Research & Training