MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 09:07
- Joined
- Feb 5, 2019
- Messages
- 365
Hi all,
I have always used a method of creating an insert query and then calling this with VBA when I need to add data to a table.
Is there any benefit to changing this to have the SQL code in the VBA instead of calling the query?
~Matt
I have always used a method of creating an insert query and then calling this with VBA when I need to add data to a table.
Code:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryInsertReturnAction", acViewNormal, acEdit
DoCmd.SetWarnings True
Is there any benefit to changing this to have the SQL code in the VBA instead of calling the query?
~Matt