home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / lang / basic / 887 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.9 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!ub!acsu.buffalo.edu!millard
  2. From: millard@acsu.buffalo.edu (Peter G. Millard)
  3. Newsgroups: alt.lang.basic
  4. Subject: Easy way to get table view of ISAM database in VB/DOS
  5. Keywords: ISAM, database
  6. Message-ID: <By5CvA.J0y@acsu.buffalo.edu>
  7. Date: 23 Nov 92 02:13:57 GMT
  8. Sender: nntp@acsu.buffalo.edu
  9. Organization: UB
  10. Lines: 32
  11. Nntp-Posting-Host: autarch.acsu.buffalo.edu
  12.  
  13. Well yet another request in my quest to unravel the secrets of VB/DOS :)
  14.  
  15. I took a look at the example of using the ISAM stuff which comes with the
  16. program. The example only shows the use of single record displays, which
  17. is fine...(use a normal form), but I am wondering how I can easily show
  18. a table view of the database. So far, I have come up with two solutions.
  19.  
  20. 1) Create a normal list with each item consisting of all the fields
  21.     combined into one string. This presents a problem in that the 
  22.     construction of a list would take a significant amount of time.
  23.     Nice thing is the easy manipulation of the list once it is
  24.     constructed (using the scroll bars, etc...)
  25.  
  26. 2) Create a list for each field then link the lists. Something like
  27.     as the user uses the scroll bars or a key to change the position
  28.     of one of the lists, all of the lists change. Problem with this 
  29.     method is that I can not easily change the horizontal position of the 
  30.     lists if I need to show more fields then the screen can show.
  31.  
  32. I'm sure someone else has tackled this problem with either VB/DOS or
  33. VB/Windows. Any insight would be appreciated.
  34.  
  35. P.S. I guess I could create some type of custom control???? I have not
  36. really looked into this prospect since I not yet delved into this
  37. realm :).
  38. Thanx.
  39.  
  40. -- 
  41. ******************************************************************************
  42.     Peter G. Millard  *  INTERNET: v057n5um@ubvms.cc.buffalo.edu           
  43.      SUNY @ Buffalo    *          : millard@acsu.buffalo.edu
  44. *****************************************************************************
  45.