G
Guest
I am making a database that is for doing audits of sales figures. I get
sales information (usually for 12 monthly figures, but sometimes one figure
for a year) from a large number of different divisions and classifications.
I was thinking that I would use one table to store the information about the
divisions and classifications, and then another to store the sales
information. The sales information table would have a foreign key that would
be the division/class id, the month, the year, then the sales value. When I
wanted to print out the audit I would have either a form or a report that
would gather the division information and all the sales figures with the
division id, which I could then print out.
Is this a good way to go about doing this? The sales table is going to get
very long (at least 24,000 records will be added each year) and I was
wondering if this would slow things down too much when I try to access the
information.
In a related question, is there an easy way to automatically generate the
months and years in the sales table based on a start and end date that would
be entered in another field (perhaps in the company information table)? Or
to sum the information once it is collected?
I appreciate any help I can get with this, right now I'm doing it with Excel
and I'm spending a lot of time entering duplicate information in different
spreadsheets.
sales information (usually for 12 monthly figures, but sometimes one figure
for a year) from a large number of different divisions and classifications.
I was thinking that I would use one table to store the information about the
divisions and classifications, and then another to store the sales
information. The sales information table would have a foreign key that would
be the division/class id, the month, the year, then the sales value. When I
wanted to print out the audit I would have either a form or a report that
would gather the division information and all the sales figures with the
division id, which I could then print out.
Is this a good way to go about doing this? The sales table is going to get
very long (at least 24,000 records will be added each year) and I was
wondering if this would slow things down too much when I try to access the
information.
In a related question, is there an easy way to automatically generate the
months and years in the sales table based on a start and end date that would
be entered in another field (perhaps in the company information table)? Or
to sum the information once it is collected?
I appreciate any help I can get with this, right now I'm doing it with Excel
and I'm spending a lot of time entering duplicate information in different
spreadsheets.