DJ_DEF_CON_1
Registered User.
- Local time
- Today, 18:30
- Joined
- Jan 1, 2003
- Messages
- 40
I have a table that is full of golf scores the courses the dates played and so on.
I have written a query that uses the Avergage function of all the scores played by a certain user based on Start and end dates.
I have created a form where a user selects the start and end dates and a player. The user would then press a command button, where I would use a "DLookup" to populate the text box.
If I populate all the filter criteria and run the query on it's own, I get the data I require. If I try to get that number to populate in an unbound text box, I get an aggrevate error.
Does anyone know why the query would work, but the DLookup would not?
Thanks
I have written a query that uses the Avergage function of all the scores played by a certain user based on Start and end dates.
I have created a form where a user selects the start and end dates and a player. The user would then press a command button, where I would use a "DLookup" to populate the text box.
If I populate all the filter criteria and run the query on it's own, I get the data I require. If I try to get that number to populate in an unbound text box, I get an aggrevate error.
Does anyone know why the query would work, but the DLookup would not?
Thanks