I
InternRyan
I have created a database with 3 tables. First table of employees with an
EmployeeID autonumber. Then a table with a list of companies *airlines,
hotels, car rentals* with that list as the key for that table. Then an
expense table with the employeeID, Company name, Amount and an Autonumber key
called ExpenseID.
Both the employee table and the company table have these automatic subtables
with the expenses which is what I was going for. I wanted to be able to add
expenses from either of those two and leave the expense table behind the
scenes. The problem is that when you open the expense subsheet in the company
table its listed by the Employee autonumber. Since this is meaningless and
there could easily be a huge number of employees I would like to figure out a
way to still use names to add expenses............
Sorry for the long post. Hope it made sense. Thank you for your time.
Ryan
EmployeeID autonumber. Then a table with a list of companies *airlines,
hotels, car rentals* with that list as the key for that table. Then an
expense table with the employeeID, Company name, Amount and an Autonumber key
called ExpenseID.
Both the employee table and the company table have these automatic subtables
with the expenses which is what I was going for. I wanted to be able to add
expenses from either of those two and leave the expense table behind the
scenes. The problem is that when you open the expense subsheet in the company
table its listed by the Employee autonumber. Since this is meaningless and
there could easily be a huge number of employees I would like to figure out a
way to still use names to add expenses............
Sorry for the long post. Hope it made sense. Thank you for your time.
Ryan