![]() |
#7
|
||||
|
||||
![]()
Caroline
I don't want to do your homework for you. I don't mind helping you past sticking points but you need to make a reasonable effort first. First, do a 'Compile Project' and resolve all of those errors. For instance sngRecords is not a Connection and is not required in the Connect sub. Second, build an example of the SQL query you want in your access database. Go to SQL view and look at what it looks like. Now compare it to the strEmps that your code creates - you will spot several errors that need resolving. Once you have those resolved, we can move forward with the rest of what you need to do.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tingker | Word VBA | 4 | 01-08-2015 08:58 PM |
![]() |
rsrasc | Word VBA | 1 | 10-22-2014 03:09 PM |
![]() |
rsrasc | Word VBA | 4 | 03-28-2014 01:31 PM |
Creating a MACRO | Nikb3522 | Word VBA | 0 | 10-21-2010 05:55 PM |
creating macro | steveb | Word VBA | 0 | 08-14-2010 01:29 AM |