Jumat, 21 April 2017

[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: xenon.blue@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar