Ok. Thank you very much. I got it to work. I had to add .[value] to the end of the [forms]![frmGetDates_ESS]![dfrom] and [forms]![frmGetDates_ESS]![dto]. so now my SQL looks like this.
PARAMETERS [forms]![frmGetDates_ESS]![dfrom].[value] DateTime, [forms]![frmGetDates_ESS]![dto].[value]...
Ok, now it will go through with out an error. but I dont get any data. I can run the query without the form open, manually enter the dates in the pop-ups, and the data is there. But if I open the form and type the dates in the text boxes I get no data. Is there anything else I can try.
I am having a problem using a form to supply dates to a crosstab query. I have a form named "frmGetDates_ESS" and it has two text fields "dfrom" and "dto". Here is the SQL view of my query.
PARAMETERS [from] DateTime, [to] DateTime;
TRANSFORM Count(dbo_CallLog.ID) AS CountOfID
SELECT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.