Need and Oracle Forms2000 expert...

From: Andy <abruskoNOabSPAM_at_binney-smith.com.invalid>
Date: Wed, 15 Dec 1999 12:36:53 -0800
Message-ID: <1ca4f2e8.9c336e12_at_usw-ex0102-015.remarq.com>



[Quoted] [Quoted] I am trying to set the "display" property of a button to "true" from my [Quoted] code. At compile time, I am getting an error saying "bad bind variable [Quoted] :block1.cmdgetnext" on the line that says: it_id := Find_Item(:BLOCK1.cmdgetnext);
but that item does exist. The button is not displayed initially, but I [Quoted] want to display it later from the code.

The code is below. Thanks for your help! Andy



declare
cursor divrows is

   select division, abv from frt.division    order by division, abv;
holddiv char(15);
holdabv char(15);
it_id item;
begin

:GLOBAL.rowcnt := 1;

	open divrows;
	fetch divrows into holddiv, holdabv;

:block1.txtdivision := holddiv;
:block1.txtabv := holdabv; close divrows; it_id := Find_Item(:BLOCK1.cmdgetnext); set_item_property(it_id,displayed,property_true);
end;
  • Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * [Quoted] The fastest and easiest way to search and participate in Usenet - Free!
Received on Wed Dec 15 1999 - 21:36:53 CET

Original text of this message