Home » Developer & Programmer » Forms » FRM- 93652
FRM- 93652 [message #591314] Fri, 26 July 2013 05:28 Go to next message
himanshusinghmbd
Messages: 15
Registered: July 2013
Location: GURGAON
Junior Member
BEGIN go_block ('det');
SET_BLOCK_PROPERTY('DET',DEFAULT_WHERE,'PARTYCODE=:DISP_PARTY_CODE');
CLEAR_BLOCK;
execute_query;
first_record;
END;

when i am writing this code in oracle form builder 11g, i am geting error frm- 93652 The runtime process has terminated abnormally.
Contact your system administrator.

after removing SET_BLOCK_PROPERTY its running properly, but my task is not happening.

i am working on windows 7 Professional 32 bit

Can anyone help...
Re: FRM- 93652 [message #591316 is a reply to message #591314] Fri, 26 July 2013 06:00 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try with concatenation:
SET_BLOCK_PROPERTY('DET', DEFAULT_WHERE, 'PARTYCODE=' || :DISP_PARTY_CODE);
Re: FRM- 93652 [message #591321 is a reply to message #591316] Fri, 26 July 2013 06:22 Go to previous messageGo to next message
himanshusinghmbd
Messages: 15
Registered: July 2013
Location: GURGAON
Junior Member
NOW THE ERROR HAS BEEN REMOVED BUT RESULT IS NOT COMING...
Re: FRM- 93652 [message #591322 is a reply to message #591321] Fri, 26 July 2013 06:27 Go to previous messageGo to next message
himanshusinghmbd
Messages: 15
Registered: July 2013
Location: GURGAON
Junior Member
SET_BLOCK_PROPERTY('DET', DEFAULT_WHERE,'PARTYCODE='||'''C10005''')

ITS WORKING Smile Smile Smile THANKS...

[EDITED by LF: applied [code] tags]

[Updated on: Fri, 26 July 2013 06:29] by Moderator

Report message to a moderator

Re: FRM- 93652 [message #591323 is a reply to message #591321] Fri, 26 July 2013 06:29 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
... which means that no records satisfy that WHERE condition.

Display it (WHERE condition, I mean) on the screen so that you'd know what's going on. Do that by creating a variable which will hold the DEFAULT_WHERE clause, or check what GET_BLOCK_PROPERTY returns for DEFAULT_WHERE or even LAST_QUERY.

[EDIT] OK, so you fixed it. Great!

[Updated on: Fri, 26 July 2013 06:30]

Report message to a moderator

Re: FRM- 93652 [message #591325 is a reply to message #591323] Fri, 26 July 2013 06:39 Go to previous messageGo to next message
himanshusinghmbd
Messages: 15
Registered: July 2013
Location: GURGAON
Junior Member
YES...
SET_BLOCK_PROPERTY('DET', DEFAULT_WHERE,'PARTYCODE='||''''||:MAIN.PPARTYCODE||'''');
NOW...ITS WORKING.
THANKS.
Re: FRM- 93652 [message #591337 is a reply to message #591325] Fri, 26 July 2013 08:12 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
himanshusinghmbd wrote on Fri, 26 July 2013 07:39
YES...

NOW...ITS WORKING.


That's because partycode is a VARCHAR2, not a number, as you failed to mention.
Previous Topic: Ranking within a form
Next Topic: CHANGE COLOUR OF DIFFERENT TEXT ITEM
Goto Forum:
  


Current Time: Wed Apr 24 18:41:22 CDT 2024