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