Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Louis C Lam — — source: Informix-list mailing list archive (1991-1998)
Hi.
I have a 4GL Form with a field to fill in a date, but I would like
it to automatically enter a default value of TODAY + 7 (a week from
today). The date may also need to be modified if TODAY +7 happens
to be a holiday.
I tried
Database formonly
screen
{
// form is here
}
attributes
day1 = formonly.day1 type date,
default = TODAY + 7;
end
but it gives me an error. If I just use "default = TODAY" it works just
fine.
There's gotta be a way to do this, right?
TIA,
Louis Lam
louislam@iastate.edu
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.