I have several tables in my database that I use as lists to select items from. For example, the Status table has two fields: An autonumber as the primary key and a Status field which can have only two values either "Open" or "Closed"
So it looks like:
1 Open
2 Closed
Everything in my database works. But, if I want to be able to see "Open" or "Closed" rather than 1 or 2 I have to write an SQL statement. Is the autonumber field necessary? Can I just make the Open and Closed fields the primary keys to prevent duplication or would this have bad ramifications in the future?
It would also be good if I have to export to Excel to have the words rather than the numbers as identification.
I have read that lookup fields in tables are ultra evil and must avoided. But the Norwind sample database always has an autonumber and another field.
Thanks in advance, Dwight
So it looks like:
1 Open
2 Closed
Everything in my database works. But, if I want to be able to see "Open" or "Closed" rather than 1 or 2 I have to write an SQL statement. Is the autonumber field necessary? Can I just make the Open and Closed fields the primary keys to prevent duplication or would this have bad ramifications in the future?
It would also be good if I have to export to Excel to have the words rather than the numbers as identification.
I have read that lookup fields in tables are ultra evil and must avoided. But the Norwind sample database always has an autonumber and another field.
Thanks in advance, Dwight