Re: data block- go_record problem
Date: Fri, 14 May 1999 14:54:15 +0100
Message-ID: <373c28eb.0_at_145.227.194.253>
You may need to remember the record number of the block (ie store it in a global variable or a hidden field) just before you leave the block. When you jump back to it, in the when_new_block_instance of the block, issue a go_record and go to the record number saved in your variable (e.g go_record(:global.record) ). If the global variable is null, default to the first record in the block.
HTH,
Mark
vagelis Hristidis wrote in message <7hh90p$qat$1_at_ulysses.noc.ntua.gr>...
>I have 2 data blocks in a master detail relationship that lie on 2 tabs of
a
>canvas. I would like ,when I jump(by changing tab) to the detail block and
>back to the master tab to have the focus on the same master block record
>that had the focus just before I went to the detail tab.
>When I use go_record in WHEN-TAB-PAGE-CHANGED trigger, it doesn't work.
>What can I do?
>Thanks in advance.
>Please mail to me.
> Vagelis
>
>
>
>-----------
>Vagelis S. Hristidis
>Electrical and Computer Engineering
>National Technical University of Athens
>e-mail:exrist_at_cc.ece.ntua.gr
>URL:http://www.cc.ece.ntua.gr/~exrist
>
>
Received on Fri May 14 1999 - 15:54:15 CEST
