djmurphy58
Technical User
I have a form for entering daily costs on a construction site. The user enters the date that work was performed, the quantity of work performed, the applicable cost code for which wwork was performed, and finally the cost incurred on that date to get that amount of work done.
Each type of work has an applicable cost code. Take for example "Pour Concrete". The budget for this item might be $10.00/CY (cubic yard). However the user is able to change the budget for this item on a monthly basis. For example, if we're making money on this item, we may want to move budget out of this item and into another item that is losing money. So to make a long story short, I allow the user to change the budgets on a monthly basis. Keep that in mind.
Now, when the user inputs the date 2/27/04 into the daily cost sheet, the user then selects from a drop down box the costs codes for which work was performed that day. Right now, I have a query setup with that combo box. That query will look up the cost codes and their corresponding budgets for the month of February only (since the work was perfomed on 2/27/04). If, for example the user enters 3/10/04, the query would look up cost code budgets that apply for the period from 3/1/04 through 3/31/04.
So, everything works fine when I enter a brand new daily cost sheet. The query will look up the correct results based on the date entered.
However the problem comes in when the user is scrolling through the historical records of the daily costs sheets. Say I want to go back and look at the daily cost form from 12/18/03. The query in the combo box should look up the budgets for the period 12/1/03 through 12/31/03......but it doesn't!!!
Does anyone know what I am doing wrong.
Thank you
Each type of work has an applicable cost code. Take for example "Pour Concrete". The budget for this item might be $10.00/CY (cubic yard). However the user is able to change the budget for this item on a monthly basis. For example, if we're making money on this item, we may want to move budget out of this item and into another item that is losing money. So to make a long story short, I allow the user to change the budgets on a monthly basis. Keep that in mind.
Now, when the user inputs the date 2/27/04 into the daily cost sheet, the user then selects from a drop down box the costs codes for which work was performed that day. Right now, I have a query setup with that combo box. That query will look up the cost codes and their corresponding budgets for the month of February only (since the work was perfomed on 2/27/04). If, for example the user enters 3/10/04, the query would look up cost code budgets that apply for the period from 3/1/04 through 3/31/04.
So, everything works fine when I enter a brand new daily cost sheet. The query will look up the correct results based on the date entered.
However the problem comes in when the user is scrolling through the historical records of the daily costs sheets. Say I want to go back and look at the daily cost form from 12/18/03. The query in the combo box should look up the budgets for the period 12/1/03 through 12/31/03......but it doesn't!!!
Does anyone know what I am doing wrong.
Thank you