home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / informix / 2343 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!virgin!satco!aaron
  2. From: aaron@satco.UUCP (Aaron Pelton)
  3. Newsgroups: comp.databases.informix
  4. Subject: Informix 4GL arrays
  5. Keywords: 4gl array scroll
  6. Message-ID: <849@satco.UUCP>
  7. Date: 7 Nov 92 20:19:25 GMT
  8. Reply-To: aaron@satco.UUCP (Aaron Pelton,Colby Mansion)
  9. Followup-To: pelton@uvm-gen.emba.uvm.edu
  10. Organization: Saturday Company, Waterbury, VT
  11. Lines: 27
  12.  
  13.  
  14.     In my quest for the answer to Informix vs Progress I've come across
  15. a particular area, scrolling data on the screen, that Informix doesn't
  16. seem to handle well.
  17.  
  18.    Given that I have a set of data that may be anywhere from 0 to n records
  19. that I want to place in a scrolling region on the screen, can it be done
  20. without a LOT of code to accomplish this?
  21.  
  22.    Arrays would solve the problem only I don't know ahead of time how big
  23. it needs to be and it could be greater than several thousand records. (I
  24. know, it's not likely, but Progress seems to do it naturally.....) Trying
  25. it out I came up with just using INPUT, SCROLL and FETCHES. I use the
  26. keyed data from the INPUT for updates so I have to close the cursor and
  27. reopen it and so forth. I'm at 79 lines (w/ bugs still) and counting while
  28. progress seems to be able to do it in about 10 lines. Sort of the reason
  29. why we want to go to a 4gl......
  30.  
  31.    Can anyone recommend a direction to look for clues? Is it possible to
  32. fool informix into using a malloc'd array?
  33.  
  34.    (Note: I admit it, I'm for informix but I have to convince the others of
  35. the team.....)
  36. -- 
  37. Aaron Pelton            | If it sounds like an opinion, it's probably mine.
  38. aaron@satco.UUCP            | Only R. Crusoe could have it all done by Friday
  39. {decvax,uunet}!virgin!satco!aaron
  40.