VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Access ODBC DB using SQL and a Data Control

Scott Lewis  (1 Submission)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This code will allow you to populate DBGrids and other bound data controls using a Data Control, SQL, and an ODBC DataBase.

Assumes
Create a new form with a DBGrid and a Data Control. Set the datasource property on the grid to use the data control. Set the DB name property on the data control to whatever DB you set up in the ODBC applet on control panel. Set the DB type property to Use ODBC. Set Visible to false.

Rate Access ODBC DB using SQL and a Data Control (7(7 Vote))
Access ODBC DB using SQL and a Data Control.bas

Access ODBC DB using SQL and a Data Control Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters