Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calling stored procedure from MS access

Status
Not open for further replies.

neerajarora

Programmer
Jul 5, 2004
1
IN
Can anybody help me in calling a function written in
MS access backend through Visual Basic.If u can think
of some other method exept OLE that will be helpful.
I am also looking to know i can u call access macros
from visual basic.
 
it's alot more efficient to just copy the function to your vb and run it from there.
 
You could build a dll in Visual Basic which contains the Access functions. Just realize you may have some modifications necessary to make the code work.

Don't even consider calling Access macros from Visual Basic. First, macros suffer from the fatal problem of not being able to trap errors and handle them. Then you are very limited in the commands you can use. There is a wizard that will translate macros to vba. You could do this and then include the code in the dll.

Steve King
 
Did you get an answer to your stored procedure question? I have some info if you still need it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top