Re: How do i save record position to re-position after a re-query. ?

Author: Hiten K M

Posted: 1999-11-10 at 11:21:57

<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

©1999 Hiten K M