Are you trying to automate Access in your own software, or just want to use Access? Access Programmer forums and User forums are on different web sites.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP