jesusoneez
IT Dogsbody
- Local time
- Today, 19:55
- Joined
- Jan 22, 2001
- Messages
- 109
I've been using Access for a fair while now, but have only recently come across the community consensus that designing a table with lookups are "bad".
Correct me if I'm wrong, but the only real reason I can find for "in table" lookup fields being bad, is that it's an Access only thing, and changing the database to another format renders the offending field useless (such as upscaling to a SQL backend.
Fair enough. All I've read sais lookups are bad, bad, bad!
None of them say what to use instead.
Now, I use lookup fields to look up data from my normalisation tables, as I'm sure most people do, so I can only assume the alternative to this is as follows.
tblMainData has a text field which used to be a lookup to the Department field of tblNormal_Departments. Now it's a text field, it contains no data.
I create a form for data entry into tblMainData. The record source for this form in tblMainData. I create a combo box, with a record source of tblNormal_Departments, and tell it to store the selected item in the Department field of tblMainData.
Is this the workaround (or the way it should be done)?
Correct me if I'm wrong, but the only real reason I can find for "in table" lookup fields being bad, is that it's an Access only thing, and changing the database to another format renders the offending field useless (such as upscaling to a SQL backend.
Fair enough. All I've read sais lookups are bad, bad, bad!
None of them say what to use instead.
Now, I use lookup fields to look up data from my normalisation tables, as I'm sure most people do, so I can only assume the alternative to this is as follows.
tblMainData has a text field which used to be a lookup to the Department field of tblNormal_Departments. Now it's a text field, it contains no data.
I create a form for data entry into tblMainData. The record source for this form in tblMainData. I create a combo box, with a record source of tblNormal_Departments, and tell it to store the selected item in the Department field of tblMainData.
Is this the workaround (or the way it should be done)?