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.
Igor G. Popov — — source: Informix-list mailing list archive (1991-1998)
> main
> define d1 date
> define d2 date
> let d1 = "1/31/1995"
> let d2 = d1 + 1 units month
> display d2
> end main
> The program fails because it trys to assign d2 a value of "2/31/1995" which
> is of course an invalid date and results in the following error:
> FORMS statement error number -1267.
> The result of a datetime computation is out of range.
> I am using ONLINE 5.01.UD2 and 4GL RDS 4.11.UC2. I have also got similar
> results on ONLINE 5.03.UC1 and 4GL RDS 4.12.UE1. Has anyone encountered this?
> Is this a known "bug" and what is the workaround?
I have the same problem with RDS and CCV 4.10.UC3.
-------
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. Igor G.Popov . Laboratory of Open Information Systems, ltd. .
. res@lois.perm.su . Russia, Perm, b. Gagarina 49, +7-3422-486374 .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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.