Re: Current Record In Multi-Record Block (Forms 4.5)
From: <dsloan_at_my-dejanews.com>
Date: Mon, 22 Jun 1998 15:05:33 GMT
Message-ID: <6mlrrt$eac$1_at_nnrp1.dejanews.com>
Date: Mon, 22 Jun 1998 15:05:33 GMT
Message-ID: <6mlrrt$eac$1_at_nnrp1.dejanews.com>
Bernadette <b.pinto_at_zetnet.co.uk> wrote:
...
> ... how do I capture the value for the item where the input
> focus sits (I.e., the CURRENT RECORD):
> I.e., my_variable := :my_block.my_name;
...
You may try
my_variable := name_in ( :system.cursor_item );
CURSOR_ITEM returns the block and item name where focus sits.
NAME_IN returns the current value of any name you pass it.
See the Forms Online Help System for specific times when it is inadvisable to
use the CURSOR_ITEM system variable.
Later, Dave
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Mon Jun 22 1998 - 17:05:33 CEST