Hi,
how can I set default value of a non-db field?
Ex: want to set def-value REOCCURRING = ‘N’, def-value EXCLUDE_WEEKEND = ‘Y’
I have tried by making these actions (individually and combined), but have not succeeded.
- create a custom view which has fields REOCCURRING and EXCLUDE_WEEKEND. Default values were set.
View definition is like
CREATE view … AS
SELECT …
, ‘N’ AS REOCCURRING
, ‘Y’ AS EXCLUDE_WEEKEND
--
- in UI Designer set the respective default values
- create client script ( (>>calling setControlValue command, client-type = Web Client Only) and attach to the screen AfterScreenLoad event

Thanks in advance for your enlightenment. :-)
Cheers,
~Juni