Home » Developer & Programmer » Forms » Problem trying to compile, receiving parameters (Oracle FORMS 9.04)
Problem trying to compile, receiving parameters [message #351496] Wed, 01 October 2008 02:37 Go to next message
averno9
Messages: 30
Registered: June 2008
Location: Spain
Member
Hello everyone.

I have to develop a form that receives a parameter. I don't know the type of this parameter nor its length, and i tried this:

...
IF :PARAMETER.VCOMISERVI IS NOT NULL THEN
...


in the NEW-FORM-INSTANCE trigger. But when i try to compile, an error appears, saying it's a bad entry.

I haven't used much parameters, so i don't know the theory, but maybe i should create a parameter in my form with that name. But what type? Should i put char of near infinite-length?

I think i'm a bit lost here. Could you give me some guidance?

Thanks in advance.
Re: Problem trying to compile, receiving parameters [message #351500 is a reply to message #351496] Wed, 01 October 2008 02:54 Go to previous messageGo to next message
averno9
Messages: 30
Registered: June 2008
Location: Spain
Member
Problem solved, by now. Because they finally told me the type of the parameter, but it's based in a column of a database that has changed sometimes, its type i mean.

So, if the type changes, the form won't work well. The parameter doesn't let me to do a SCHEME.TABLE.COLUMN%TYPE for the type of the parameter, is there a way to do it?

Thanks.
Re: Problem trying to compile, receiving parameters [message #351502 is a reply to message #351500] Wed, 01 October 2008 02:58 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Yes, tell them that "With one much publicised exception, people can only walk on water or code to specifications when they are frozen".

David
Re: Problem trying to compile, receiving parameters [message #351503 is a reply to message #351496] Wed, 01 October 2008 03:05 Go to previous messageGo to next message
averno9
Messages: 30
Registered: June 2008
Location: Spain
Member
I'm sure i don't understand well the sentence, but it made me laugh Razz Thanks, i needed it.
Re: Problem trying to compile, receiving parameters [message #351642 is a reply to message #351503] Wed, 01 October 2008 18:51 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry. One of the central characters of Christianity was observed to walk on water. The rest of us are simply human.

Just tell them to get their act together so that you can do your work.

David
Previous Topic: forms
Next Topic: I can't Deinstall Oracle Developer suite 10g on Windows Vista
Goto Forum:
  


Current Time: Mon Feb 03 12:40:21 CST 2025