Were I given the set of input you described, I would:
1. import into a "temp" table
2. create queries to "parse" the data into my permanent tables
Your "Labor" ([expensecateg]), for example, would be checked against a
lookup table. If that table already held a row for "Labor", I wouldn't want
another. To do this, I'd use an append query and a unique index on the
field that holds "Labor". And when a new category shows up in 2 months, it
wouldn't already be in the lookup table, so the append query would be adding
that new one.
--
Regards
Jeff Boyce
Microsoft Office/Access MVP
Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
variance1 said:
From import:
Table = Trans data
Fields: Yr(2006),Month(1), Co#(1000), Dept(3131),
Expenseacct(56A),expensecateg(Labor), Line of Biz(Consulting),Employee(Doe,
John), EmplID(####),Trans amt(
$100),transdate(1/11/06),postdate(1/15/06),description(comment
field),transid(like autonumber unique to every
record),projectid(alphanumeric), project descrip(alpha), project
category(alpha).
As you can imagine a lot repeats (labor will be a common expense categ as
would travel). So what is the way to correctly update with nonnormalized
data set into Access? What happens if a new Expense category appears in 2
mos?