Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple records displayed at once

Status
Not open for further replies.

chrisco

MIS
Sep 11, 2000
7
US
I am wanting to display multiple records based on search criteria entered (so the number of records that will display will vary). I am using files (i.e. notepad). Any suggestions on how to go about doing this?

I tried using an Access (access 2000) dbase but kept getting an error saying the database wasn't a valid database and I couldn't get any controls to connect to the dbase.

I am using VB 6.0

Thanks [sig][/sig]
 
you can use Access in VB 6, using ADO , look in the FAQ for a example of ADO being used in VB, also for multiple recordsets, you can just create new recordsets, try ADO see if it helps improve your situation any (if the Access DB is an Access 2000 db, then you need to use ADO 2.1 or above with VB6) [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Use the ADO data control to bind to an access 2000 database and assign the jet 4.0 engine(jet 3.5 will not work) as part of the ADO control setup. The intrinsic data control will not bind to a access 2000 database.
From the Project menu select components and select &quot;Microsoft ADO data control 6.0&quot; for assignment to your tool box.

(TNN) Tom (Novice Programmer) [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top