Re: Need and Oracle Forms2000 expert...
From: M. Armaghan Saqib <armaghan_at_yahoo.com>
Date: Thu, 16 Dec 1999 00:33:53 GMT
Message-ID: <839c1h$ti3$1_at_nnrp1.deja.com>
Use
it_id := Find_Item('BLOCK1.cmdgetnext'); instead of
it_id := Find_Item(:BLOCK1.cmdgetnext);
Date: Thu, 16 Dec 1999 00:33:53 GMT
Message-ID: <839c1h$ti3$1_at_nnrp1.deja.com>
Use
it_id := Find_Item('BLOCK1.cmdgetnext'); instead of
it_id := Find_Item(:BLOCK1.cmdgetnext);
regards,
M. Armaghan Saqib
- SQL PlusPlus : Add power to SQL Plus command line
- SQL Link for XL : Integrate Oracle with XL
- Oracle CBT with sample GL (Triggers and Forms Source Code included.
Download free: http://www.geocities.com/armaghan/
Andy <abruskoNOabSPAM_at_binney-smith.com.invalid> wrote in message news:1ca4f2e8.9c336e12_at_usw-ex0102-015.remarq.com...
> I am trying to set the "display" property of a button to "true" from
my
> code. At compile time, I am getting an error saying "bad bind
variable
> :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
> 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 *
> The fastest and easiest way to search and participate in Usenet -
Free!
> included.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Dec 16 1999 - 01:33:53 CET