Hi all,
I can only apologise for posting what is a really basic question, but they've just sent me on an 'Intro to Access' course and I am now expected to solve all their problems.
Here I go: how do I actually make use of a function? I have copied a Public Function taken from a FAQ into a Module. The Module is called 'WorkingDays2'. I want to view the results of the function but don't know how. I created a form based on the table containing the fields the function should use. I then added a text box and pasted the function name into the Expression Builder within the text box's Control Source. Was this right? When I view the form I get a #Name? error in the new text box.
Again, sorry for bothering you all with this. I did try a search but no joy. I will crawl under a rock when this is fixed. Any help appreciated.
I can only apologise for posting what is a really basic question, but they've just sent me on an 'Intro to Access' course and I am now expected to solve all their problems.
Here I go: how do I actually make use of a function? I have copied a Public Function taken from a FAQ into a Module. The Module is called 'WorkingDays2'. I want to view the results of the function but don't know how. I created a form based on the table containing the fields the function should use. I then added a text box and pasted the function name into the Expression Builder within the text box's Control Source. Was this right? When I view the form I get a #Name? error in the new text box.
Again, sorry for bothering you all with this. I did try a search but no joy. I will crawl under a rock when this is fixed. Any help appreciated.