Link to home
Start Free TrialLog in
Avatar of vbnetcoder
vbnetcoder

asked on

stored procedures in access?

Is there something similar to stored procedures in Access where i can pass parameters etc?
Avatar of meettechie
meettechie
Flag of India image

If using office 2010 and above you should be able to:

CREATE PROCEDURE procedure [param1 datatype[, param2 datatype[, …]] AS sqlstatement

Refer below MSDN link below for more information :
https://msdn.microsoft.com/en-us/library/office/ff845861.aspx
in access you can create a Sub procedure or Function, both can accept parameters.
- functions can return values while sub procedure can't.

what are you trying to do?
Avatar of vbnetcoder
vbnetcoder

ASKER

I was hoping to create something simular to the stored procedures that you have in Access.  I might have to do it the way you suggested though which should work fine
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No Points wanted...

Agree with Rey,
But you still have not told us exactly what you are trying to do.

You can "simulate" stored procedure functionally in many ways in Access (as Rey listed)
But we need to know exactly what you are trying to accomplish here.
ty