Home » Developer & Programmer » Forms » default_where
icon8.gif  default_where [message #146381] Thu, 10 November 2005 02:07 Go to next message
aarontan78
Messages: 63
Registered: August 2005
Member
Hi,

I have this pre-query which I set the default_where as follows:

DECLARE
BEGAN
go_block('COMU04');
SET_BLOCK_PROPERTY('COMU04', DEFAULT_WHERE, 'COMU = :global.comu
AND EXISTS (SELECT acai FROM ACCI WHERE ACCIS = :global.accis AND gjenis = :COMU04.v_gjenis AND gsek = :COMU04.v_gsek
AND acut IN (''T'',''U'') and acus = ''A'' AND acai = COMU04.acai) AND PAK1.USER1(:global.id1, comucd, :global.nose, kunci) =

''Y''');
END;

I got error: CANNOT READ FORM when I tried to open the form.

Please help!
Thanks.

Regards..

[Updated on: Thu, 10 November 2005 02:10]

Report message to a moderator

Re: default_where [message #146383 is a reply to message #146381] Thu, 10 November 2005 02:11 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Moved to Forms forum. The Newbie forum is not the IN-BOX for the mods Mad.

MHE
icon10.gif  Re: default_where [message #146397 is a reply to message #146381] Thu, 10 November 2005 03:33 Go to previous message
aarontan78
Messages: 63
Registered: August 2005
Member
Sorry,

Just solved it by removing:

DECLARE
BEGAN
go_block('COMU04');

....
END;

Thanks anyway.

Regards...
Previous Topic: form unable to call report
Next Topic: list item populate with a query but cannot select the values
Goto Forum:
  


Current Time: Fri Sep 20 04:00:51 CDT 2024