Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Does any know how to fire off a MSAccess macro from within vb.net?

 

I have a data set that needs extensive cleaning, so I perform the cleaning by running several queries inside MSAccess. I have the queries grouped within a macro, which I would like to fire from my vb.net application.

 

Any help would be greatly appreciated!

when the day is bad and life's a curse, cheer up tomorrow may be worse.
Posted

Set your Access reference and create your access.application object.

 

There is a method called DoCmd. Im not too familiar with syntax but if you need a quick example i can give you one when I get home.

 

Let me know

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...