home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / informix / 1600 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.6 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!ferrari.datamark.co.nz!imf
  2. Newsgroups: comp.databases.informix
  3. Subject: SCROLL statement help
  4. Message-ID: <1992Jul24.033322.50507@datamark.co.nz>
  5. From: imf@datamark.co.nz (Ian Franklin)
  6. Date: Fri, 24 Jul 1992 03:33:22 GMT
  7. Organization: Datamark International Ltd.
  8. Lines: 24
  9.  
  10. I am using INFORMIX 4GL Version 4.00 on a standard engine and am
  11. having some problems with a DISPLAY ARRAY. The problem is that the
  12. array holds past, present and future data and I would like to position
  13. the cursor on the data relevent to the present and then allow the user
  14. to scroll up or down as he/she desires. To do this I assumed that
  15. I could use the SCROLL command to do this positioning however the
  16. manuals I have do not have any examples of how this is achieved, only
  17. the command format and a one line description. I used the SCROLL
  18. statement in a FOR loop, testing on a date and if the date does not
  19. fall with in the current month I would SCROLL up 1. This was done
  20. just before the DISPLAY ARRAY but once the array is displayed to the
  21. screen it is starting at the first table entry still. In debug mode
  22. the FOR seems to be working fine.
  23.  
  24. Could someone out there please point out what I am doing wrong (Its
  25. sure to be something obvious like the command not doing what I
  26. thought) or provide an example of this commands correct use.
  27.  
  28. Thanks in advance.
  29. -- 
  30. Ian Franklin       | imf@datamark.co.nz | +64-4-233-8186 (work) |
  31. Datamark Intl Ltd  |--------------------------------------------|
  32. Wellington         | I drink to make other people intresting    |
  33. New Zealand        |                    - George Jean Nathan    |
  34.