Working on a project to take checks written (ERP SQL database) for a specified date range and create a text file which will be sent to our bank.
In the VBA Coding I used:
Dim db As Database
*This works in other files.
When I run this app/file get the error message:
"Compile Error: User-defined type not defined."
Help resources indicate the need for DAO or ADO. I haven't found a resource that explains these in detail (i.e. I understand the gist, but, are they needed for SQL connections?).
Teach me oh wise ones. Note: I prefer to learn the why's and what for's and to use them appropriately, hence, I avoid using work arounds simply because they work - it just leads to lost time "the next time".
In the VBA Coding I used:
Dim db As Database
*This works in other files.
When I run this app/file get the error message:
"Compile Error: User-defined type not defined."
Help resources indicate the need for DAO or ADO. I haven't found a resource that explains these in detail (i.e. I understand the gist, but, are they needed for SQL connections?).
Teach me oh wise ones. Note: I prefer to learn the why's and what for's and to use them appropriately, hence, I avoid using work arounds simply because they work - it just leads to lost time "the next time".