Function help

J

James

Ok, I have a query that requires you to enter in a username, and a date,
then brings up results based on that info.

I also have a function which i want to run to total some values. I want the
function to run based on the information returned by the query. How do I go
about doing this?

If I run the function against the test database:
Set rs = db.OpenRecordset("WebProxyLog1"), it works fine.
if i run it against the query it simply returns !Error#

Set rs = db.OpenRecordset("WebProxyLog1 Query")

Why would this be?
 
Top