Hi All,
So here's a general scenario: I create a VB Class which allows the user to create a client record for a table. Let's assume one of the fields in the Client table is a field called SalespersonID which relates to another table with Salesperson Name and their respective ID (key).
What's best practice for designing a class to append a record to a table which has related data? Do you store both the Salesperson's Name and their respective ID in the the class properties, create a custom type, or something else?
TIA
-Brian
So here's a general scenario: I create a VB Class which allows the user to create a client record for a table. Let's assume one of the fields in the Client table is a field called SalespersonID which relates to another table with Salesperson Name and their respective ID (key).
What's best practice for designing a class to append a record to a table which has related data? Do you store both the Salesperson's Name and their respective ID in the the class properties, create a custom type, or something else?
TIA
-Brian