home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / informix / 1903 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.8 KB

  1. Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!news
  2. From: cortesi@informix.com (David Cortesi)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: Where's my Reverse field
  5. Message-ID: <1992Sep9.204346.1780@informix.com>
  6. Date: 9 Sep 92 20:43:46 GMT
  7. References: <1992Sep8.213142.2049@candle.uucp>
  8. Sender: news@informix.com (Usenet News)
  9. Reply-To: cortesi@informix.com
  10. Organization: Informix Software, Inc.
  11. Lines: 40
  12.  
  13. In article <1992Sep8.213142.2049@candle.uucp> root@candle.uucp (Bruce Momjian)  
  14. writes:
  15. > I have a field on a form I have specified as REVERSE, but it just comes
  16. > up blank.  I know Informix knows about the reverse video on my terminal
  17. > because my menus come up reverse.  In fact, I have some Informix
  18. > executable from another person and its fields are reverse.  Does anyone
  19. > know why this is happening?  Below is my form description file.
  20. > database formonly
  21. > screen
  22. > {
  23. >             Summary of Client/Matter Activity
  24. >             
  25. >         As-of Period [a]
  26. >                 
  27. > }
  28. > end
  29. > attributes
  30. > a = formonly.begdt TYPE CHAR, REVERSE;
  31. > end
  32. > instructions
  33. > delimiters "<>";
  34.   ^^^^^^^^^^^^^^^ this is your problem!!!
  35. > end
  36.  
  37. I ran your form on the handiest thing, a Sparc, and as you say,
  38. the field was not reversed but plain.
  39.  
  40. Then I noticed in the manual where it says, (page 4-51)
  41. "on terminals that do not support reverse video, fields
  42. having the REVERSE attribute are enclosed in angle brackets (<>)"
  43.  
  44. So I thought, hmmm, wonder if 4GL is trying to use angle
  45. brackets, and it doesn't show because he has set angle brackets
  46. manually?   So I changed the form to read: delimiters "{}" and
  47. lo & behold! The field came up in nice reverse video!  
  48.  
  49. I can't figure out if this should be called a bug or a
  50. documentation error! It is screwy enough for a bug, yet the
  51. screwiness has a certain air of logic to it, somehow...
  52. anybody know more?
  53.