A
alex
Question:
I have a standard Form that populates a table.
At the top of the Form are several fields (employee, supervisor, unit,
etc) based on a LookUp table, e.g., Employee Table.
Right now, the data entry clerk tabs from field to field selecting
individual values from the LookUp table; e.g., select employee; select
supervisor, select building; select unit.
I would like the Form (and hence the table being populated) to auto
populate based on the selection of one field. E.g., if the user
selects employee John Doe, the other fields related to John would auto
populate, such as his supervisor; his building; his unit.
I know that this could be accomplished with some fancy IIF(), but I
figured there's an easier way.
Now, most astute DBAs would ask: why put all this info into one table,
essentially doing so would create a 'flat file.'
What I'm trying to do is create a historical record that will most
likely be exported to Excel. E.g., if John's supervisor is Jane Doe
today, it may be someone else tomorrow-the flat file appears to be the
best way to capture this data for historical purposes.
If my output table only has John's name or ID, the database will only
give me John's current supervisor when linked to the Employee table.
I hope I haven't confused anyone.
Any thoughts?
alex
I have a standard Form that populates a table.
At the top of the Form are several fields (employee, supervisor, unit,
etc) based on a LookUp table, e.g., Employee Table.
Right now, the data entry clerk tabs from field to field selecting
individual values from the LookUp table; e.g., select employee; select
supervisor, select building; select unit.
I would like the Form (and hence the table being populated) to auto
populate based on the selection of one field. E.g., if the user
selects employee John Doe, the other fields related to John would auto
populate, such as his supervisor; his building; his unit.
I know that this could be accomplished with some fancy IIF(), but I
figured there's an easier way.
Now, most astute DBAs would ask: why put all this info into one table,
essentially doing so would create a 'flat file.'
What I'm trying to do is create a historical record that will most
likely be exported to Excel. E.g., if John's supervisor is Jane Doe
today, it may be someone else tomorrow-the flat file appears to be the
best way to capture this data for historical purposes.
If my output table only has John's name or ID, the database will only
give me John's current supervisor when linked to the Employee table.
I hope I haven't confused anyone.
Any thoughts?
alex