M
Marko via AccessMonster.com
Hi all,
I created a report that linked to the data table as source and on my regular
report, I created textboxes and set it to:
=DCount("*","BOOK TABLE","[BOOK_ID]='00167' AND [B_CONDITION]='USED'")
This gave me the total count of the book ID base on its condition.
Each book title has an assigned ID number as they being entered to the table
and are either New or Used as B_Condition. I have other field on the table
such as B_Name, B_Year, and B_DateEntry. The 3 fields that I am focused on is
BOOK_ID, B_CONDITION, and B_DATEENTRY (set to automatically insert as Date()
function).
Now I want the report to display inputboxes so I can input the date range (I.
E from 1/12/2009 to 2/12/2009) when it is being open so that I can get a
county of how many Used and New copies of a certain book on the data table in
a given time frame so I can predict the sell trend base on the criteria given
in the DCount() statement above. I'be veen trying to carry out this idea but
failed miserably. Any suggestion will be greatly appreciated.
Marko
I created a report that linked to the data table as source and on my regular
report, I created textboxes and set it to:
=DCount("*","BOOK TABLE","[BOOK_ID]='00167' AND [B_CONDITION]='USED'")
This gave me the total count of the book ID base on its condition.
Each book title has an assigned ID number as they being entered to the table
and are either New or Used as B_Condition. I have other field on the table
such as B_Name, B_Year, and B_DateEntry. The 3 fields that I am focused on is
BOOK_ID, B_CONDITION, and B_DATEENTRY (set to automatically insert as Date()
function).
Now I want the report to display inputboxes so I can input the date range (I.
E from 1/12/2009 to 2/12/2009) when it is being open so that I can get a
county of how many Used and New copies of a certain book on the data table in
a given time frame so I can predict the sell trend base on the criteria given
in the DCount() statement above. I'be veen trying to carry out this idea but
failed miserably. Any suggestion will be greatly appreciated.
Marko