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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am tring to figure out, in an Acc 1

Status
Not open for further replies.

quest4

Technical User
Joined
Aug 27, 2001
Messages
735
Location
US
I am tring to figure out, in an Access2000 query, why TimePeriod is not picking up the GetNumWeeks() variable, which is set to 13. Here is my line of code:
GetNumWeeks() AS TimePeriod,
It now brings up a popup window and wants me to enter it instead of going to the module and getting it. What is wrong here? Thanks you to anyone who helps.
 
Is the getNumWeeks declared as public?

Nick
 
It is just a fuction in a module, in fact this is it:
Function GetNumWeeks()
GetNumWeeks = 13
End Function
Ihope the helps. Thanks for the response.
 

I posted the answer in your other thread. Without the complete query, we could never help you in this thread. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top