Problem trying to compile, receiving parameters [message #351496] |
Wed, 01 October 2008 02:37 |
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 |
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.
|
|
|
|
|
|