Home » Developer & Programmer » Forms » PLZ HELP ME ! URGENT !
PLZ HELP ME ! URGENT ! [message #86174] Mon, 06 September 2004 21:35 Go to next message
domingo
Messages: 54
Registered: June 2004
Member
Hi

 In my form i have two screens , i need to page down to second screen when there is corresponding data available in screen 2 its working fine but when no data is available corresponding to first screen , i get error message on paging down to second screen  and it keeps on coming and i cannot get out of it .  I have to then end the program by pressing ctrl+alt+del
Can anybody help me ?

Its urgent plz let me know if u hav any questions.

  Thanks

   DOMINGO
Re: PLZ HELP ME ! URGENT ! [message #86187 is a reply to message #86174] Tue, 07 September 2004 23:20 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Waht do you mean by 2 screens?
Are these 2 separate Fprms or there are 2 separate blocks in the Form?

If they are separate forms then add following code in On-message trigger:
If Message_code = 40350 Then
Message('I: No record exists for the query criterion entered.',NO_ACKNOWLEDGE);
Else
If Message_Code <> 0 Then
Message('I: ' || To_Char(Message_Code) || ' ' || Message_Text,NO_ACKNOWLEDGE) ;
Raise Form_Trigger_Failure;
End If ;
End If;

Also check if you have appropriate error handling exceptions written in your When-new-form-instance(I beleive you are executing the query from this trigger only) , and also expetion handling should be done in key-execqry trigger.

I hope that you are using call_form built-in to call the 2nd form.I have tested this with call form trigger and it works fine.

HTH
Regards
Himanshu
Re: PLZ HELP ME ! URGENT ! [message #86190 is a reply to message #86187] Tue, 07 September 2004 23:58 Go to previous messageGo to next message
domingo
Messages: 54
Registered: June 2004
Member
HiHimanshu,
2 screens means same form with diff blocks and canvases(content)
Plz help .

thankz
Domingo
Re: PLZ HELP ME ! URGENT ! [message #86193 is a reply to message #86190] Wed, 08 September 2004 00:41 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Domingo,
Do these blocks have any relationship defined between them?
if yes then try modifying the block coordination property of the relationship.

Alternativley you may post your form to me at himan_bharadwaj@hotmail.com for further investigation.

HTH
Regards
Himanshu
Re: PLZ HELP ME ! URGENT ! [message #86196 is a reply to message #86193] Wed, 08 September 2004 01:23 Go to previous message
domingo
Messages: 54
Registered: June 2004
Member
himanshu
i tried putting a on eror trigger but now u know what's happenning ..?
Its always showing working and i cannot come out of the form
can u tell me the problem ?
regds
Domingo
Previous Topic: Forms 6i java bean
Next Topic: Order by non base table column in forms
Goto Forum:
  


Current Time: Sun May 19 11:22:13 CDT 2024