|
|
|
|
|
|
|
Re: a parameter Organizations query [message #613682 is a reply to message #613676] |
Fri, 09 May 2014 02:31 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
It is not mandatory.
For example, you can have a check constraint on a table column which takes care about valid values. Or, referential integrity constraint, or unique constraint ... all of them won't let you enter invalid values (so yes - you don't need to have a WHEN-VALIDATE-ITEM trigger in a form).
Is this question related to the original problem? If so, you don't have to write any kind of a trigger. "List of values" I mentioned can be created in Reports Builder itself (but you'll have to display its Parameter Form so that user can select from it). Or, as you already know, it can be created in Forms Builder and you'll just pass its value to a report. In that case (LoV in your form), set item's "Validate from list" property to "Yes" - it'll do the validation (i.e. user won't be able to enter values different from the ones contained in LoV).
|
|
|