home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!news
- From: cortesi@informix.com (David Cortesi)
- Newsgroups: comp.databases.informix
- Subject: Re: Where's my Reverse field
- Message-ID: <1992Sep9.204346.1780@informix.com>
- Date: 9 Sep 92 20:43:46 GMT
- References: <1992Sep8.213142.2049@candle.uucp>
- Sender: news@informix.com (Usenet News)
- Reply-To: cortesi@informix.com
- Organization: Informix Software, Inc.
- Lines: 40
-
- 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?
-