Charts quite often use a crosstab query as the row source. I expect this is the case and crosstabs require you to declare the data types of parameters. If you don't, you get an error message "MS Access does not recognize.."
Regards,
Duane Hookom
Switzerland
Sent: Friday, April 21, 2017 1:00 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] How to Declare Field Variables in SQL?
Hi there folks,
I appreciate that there is forum of like minded people to help with Access issues as there are always many to navigate.
My issue is simple for the pros. I am trying to create a report based on a nested query which pulls the information without a problem. The query data is filtered by specifying a lower and upper date. For example:
Between [Forms]![frmQueryByDate]![L_Date] And [Forms]![frmQueryByDate]![U_Date]
When I run the report that contains a line chart, I get the following error message:
MS Access does not recognize "[Forms]![frmQueryByDate]![L_Date]" as a valid field or expression
I believe this may be due to not specifically declaring the input fields from the form as parameters in the SQL statement.
Can someone please help me on how to overcome this issue?
Thank you.
Greg
Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (5) |
Tidak ada komentar:
Posting Komentar