G
Guest
I searched already on this question but I don't think it's going to help in
my case.
Each record is identified by company/year/month and the concatenation of all
three fields is the unique identifier for each record. The table could look
like this:
field1 field2 field3 field4 field5
field6 field7
cmp1_2005_june cmp1 2005 june 5000 4000 1000
cmp1_2005_july cmp2 2005 july 10000 9000 1000
cmp2_2005_june cmp3 2005 june 6000 4000 2000
wheres:
field1 - field2&field3&field4
field2 - company
field3 - year
field4 - month
field5 - sales
field6 - cogs
field7 - field5-field6
This database is capturing YTD amounts for several companies monthly and I
need to take the difference from the current month for a certain company and
the prior month so the activity for the current month can be derived.
Any ideas on how to do this using combo boxes so the customer can choose the
company and period?
my case.
Each record is identified by company/year/month and the concatenation of all
three fields is the unique identifier for each record. The table could look
like this:
field1 field2 field3 field4 field5
field6 field7
cmp1_2005_june cmp1 2005 june 5000 4000 1000
cmp1_2005_july cmp2 2005 july 10000 9000 1000
cmp2_2005_june cmp3 2005 june 6000 4000 2000
wheres:
field1 - field2&field3&field4
field2 - company
field3 - year
field4 - month
field5 - sales
field6 - cogs
field7 - field5-field6
This database is capturing YTD amounts for several companies monthly and I
need to take the difference from the current month for a certain company and
the prior month so the activity for the current month can be derived.
Any ideas on how to do this using combo boxes so the customer can choose the
company and period?