penfold1992
Registered User.
- Local time
- Today, 08:50
- Joined
- Nov 22, 2012
- Messages
- 169
Ok, heres a bit of a guilty secret...
I've been programming databases for over half a year now but im still not quite sure of something...
I need to create a form to input records (or modify records) however im unaware of the methods that could be used to actually put the data into the tables...
my current method is using:
I am not sure if this is the most effecient or best or if it has issues that other methods or ways to use but doing this seems to do the trick.
Ive seen ADODB around but im not too sure what it is or whether there is any use in using it over DAO
I've been programming databases for over half a year now but im still not quite sure of something...
I need to create a form to input records (or modify records) however im unaware of the methods that could be used to actually put the data into the tables...
my current method is using:
Code:
Dim dbs as DAO.Database
Set dbs As CurrentDB
Dim InsertSQL As String
InsertSQL = "INSERT INTO [Table] (Columns) VALUES (Values)"
dbs.Execute InsertSQL
I am not sure if this is the most effecient or best or if it has issues that other methods or ways to use but doing this seems to do the trick.
Ive seen ADODB around but im not too sure what it is or whether there is any use in using it over DAO