Click here to Skip to main content
15,889,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create function by inserting module in the database of ms access 2007. when using/ calling the function to calculate warning message shows "undefined function". any suggestions
Posted
Comments
William Winner 10-Jan-11 13:26pm    
What else does the error message say? what function does it say is undefined? How are you calling it?

You need to provide more info.
juli Paris 12-Jan-11 7:07am    
after defining the function like

Function MyFuction(VarABC as Varient) as integer

I Closed the VBA and open query and want to call that function like this

abc: MyFunction(ABC)

for calculation and display the result in column the error message shows Undefined function.

1 solution

How have you declared your Function :

For example

Public Function MyFunction() As Object
 
Share this answer
 
Comments
Sandeep Mewara 10-Jan-11 12:17pm    
Comment from OP:
Function MyFunction(varABC as varient) as integer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900