D
dbellinger
ACCESS 2003 -
First time posting.
I am working on a database and part of it is a budget report. Each month has
a different budget (Jan is 1500, Feb is 200, Mar & May ==> Dec is 500, and
Apr is 1100). I have a field that is calculated from:
=Format$([Invoice_Date],"mmmm",0)
that pulls (as shown) the month out of a medium date field in an Invoice
table. What I want to do is write some snippet that will use that result to
determine the appropriate budget (as above). The field that the "calculated"
month resides in is called month_label and the field that I want the budget
to appear in is called budget_label (even though they are actually text
fields).
I am having trouble getting either case or if...then...else statements to
work. I may be putting it in the wrong place or putting it in wrong. Any help
is greatly appreciated.
First time posting.
I am working on a database and part of it is a budget report. Each month has
a different budget (Jan is 1500, Feb is 200, Mar & May ==> Dec is 500, and
Apr is 1100). I have a field that is calculated from:
=Format$([Invoice_Date],"mmmm",0)
that pulls (as shown) the month out of a medium date field in an Invoice
table. What I want to do is write some snippet that will use that result to
determine the appropriate budget (as above). The field that the "calculated"
month resides in is called month_label and the field that I want the budget
to appear in is called budget_label (even though they are actually text
fields).
I am having trouble getting either case or if...then...else statements to
work. I may be putting it in the wrong place or putting it in wrong. Any help
is greatly appreciated.