iNovice Posted June 27, 2006 Posted June 27, 2006 Is there a problem with having two unique primary keys in the same table and layout? I want to track two different types of customers in a single customer table rather than making two separate tables. Is this unusual and am I asking for problems? Thanks
LaRetta Posted June 27, 2006 Posted June 27, 2006 There is nothing wrong with your desired outcome. But a Primary key signifies only ONE unique record per table. That doesn't stop you from designating two types of customers and you are correct that you don't need two separate tables. Just have a field called CustomerType which would contain your groupings, such as: Retail, Wholesale, Store, or however you wish to designate them. Then create a value list called CustomerType. It can be based upon values from field (CustomerType) or a Custom value list. Users would select the Customer type from radio buttons. Primary key - only one per record per table - unique, meaningless and never-changing. LaRetta
Recommended Posts
This topic is 6782 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now