Re: Where's my Reverse field
Posted in 1992
In article <1992Sep8.213142.2049@candle.uucp> root@candle.uucp (Bruce Momjian) writes: > I have a field on a form I have specified as REVERSE, but it just comes > up blank. I know Informix knows about the reverse video on my terminal > because my menus come up reverse. In fact, I have some Informix > executable from another person and its fields are reverse. Does anyone > know why this is happening? Below is my form description file. > database formonly > screen > { > Summary of Client/Matter Activity > > As-of Period [a] > > } > end > attributes > a = formonly.begdt TYPE CHAR, REVERSE; > end > instructions > delimiters "<>"; ^^^^^^^^^^^^^^^ this is your problem!!! > end I ran your form on the handiest thing, a Sparc, and as you say, the field was not reversed but plain. Then I noticed in the manual where it says, (page 4-51) "on terminals that do not support reverse video, fields having the REVERSE attribute are enclosed in angle brackets (<>)" So I thought, hmmm, wonder if 4GL is trying to use angle brackets, and it doesn't show because he has set angle brackets manually? So I changed the form to read: delimiters "{}" and lo & behold! The field came up in nice reverse video! I can't figure out if this should be called a bug or a documentation error! It is screwy enough for a bug, yet the screwiness has a certain air of logic to it, somehow... anybody know more?