retreive Access via ADO

S

Souris

I just migrate VBA code from Access to Excel.

There are some code using DAO in Access application.

I convert it to ADO,since I need retreive data from Access.

I just realized that I am unable to access ADO.fields outside the function
which works for DAO.

Are there any work around for this?
Is it possible to access ADO fields by name outside the function?
Is it possible to retrieve data from Access using DAO?

Your information is great appreciated,
 
S

Souris

Thanks for helping,

I just found that ADO returns recordconut -1 and found solution.
Thanks again,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top