Home » Developer & Programmer » Forms » Compiling forms
Compiling forms [message #234414] Tue, 01 May 2007 09:37 Go to next message
spider99
Messages: 9
Registered: May 2007
Junior Member
I am working on a custom Oracle application built using Designer and Forms 6i. I am attempting a cosmetic modification of one of the forms, recompiling and copying the fmx to the source directory, running the application and getting an error, which is traced to a custom function, and it seems that a parameter that is picked up prior to compiling is not picked up afterwards.

Clearly the problem is introduced when I compile the (cosmetically) changed form. Are there any additional steps that would retain existing state of functions etc?
Re: Compiling forms [message #234457 is a reply to message #234414] Tue, 01 May 2007 12:08 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Do you need that parameter or not? If not, remove it from the function. If yes, make sure the function sees it (if nothing else, initialize it in the WHEN-NEW-FORM-INSTANCE trigger).
Re: Compiling forms [message #234934 is a reply to message #234414] Thu, 03 May 2007 08:55 Go to previous message
spider99
Messages: 9
Registered: May 2007
Junior Member
I have resolved this problem by setting Initial Value on the property pallet of the item in question to a valid payroll number. However, I've now hit another problem relating to context of inserts. I'm going to raise another topic about order of events.

Thanks.
Previous Topic: Forms 6i or Forms 10g
Next Topic: How to minimize list item length
Goto Forum:
  


Current Time: Thu Feb 13 00:48:28 CST 2025