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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Control and bound form controls

Status
Not open for further replies.

WP

Programmer
Joined
Nov 30, 1999
Messages
463
Location
CH
I have been coing in VB since VB3. I started using the data control but ditched it as being too slow. From that time I have not returned to it and programmed all my work as unbound.

I have recently been asked to take a training course on VB6 and databases. It is all based around the data control.

Is the data control so much improved that I should now favour it over unbound controls ? Bill Paton
william.paton@ubsw.com

Check out
 
Bill,
No matter how much VB improves itself with versions, there are always pros and cons with the data control. The data control is very easy to use but is hardly flexible. You will be able to do simple database operations and queries but it will not be much of an help when you want something more complex.

The data control in VB6 is certainly an improved version than what it was before, but the basic concept remains the same - the unbound version is always faster and it gives you the fliexibility to do what you want to.

I hope this helps you in making the right decision.
 
The data control uses DAO as the data access method which is considered to be a lot slower than the new, improved ADO control that ships with VB6. The ADO control uses ActiveX Data Objects as the data access method, and it's Microsoft's preferred method. It has a lot more functionality than the Data control. You build a connection string to the database. Give it a try and see if it works faster for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top