Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a Table Call Itself?

Status
Not open for further replies.

HenryE

IS-IT--Management
Apr 30, 2002
42
US
Hi All,

I just created a table where one field uses another field in the same table as a combo box. Namely, I have a table called Clients, with two fields: ClientName and CurrentClientName. ClientName has all possible names, recent, old, you name it, for clients. CurrentClientName calls ClientName using a combo box lookup. So a user can choose the current client name from among all names in ClientName (I hope all this makes sense).

So far, it seems to work. The question is: Am I making a huge mistake by doing this? Having a table call itself seems like a recipe for something going wrong down the road, but I'm not sure how. Is there a better way (using a view, for example?)?

Thanks.

Henry
 
So you have a combo box bound to the Clients.ClientName field with a record source of something like "SELECT DISTINCT ClientName FROM Clients"? Nothing wrong with that, although you won't be able to add any new client names if you limit your combobox to the list. A view is only a query that is saved in an optimised state - slightly better performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top