dbTalk Databases Forums  

Table entries require aliases.

comp.databases.ms-access comp.databases.ms-access


Discuss Table entries require aliases. in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter Jason
 
Posts: n/a

Default Table entries require aliases. - 11-23-2011 , 11:03 PM






I have Access2010.

I have a "tblProducts" in my database linked to "frmInvoice".

Some of the products require different names for the same thing, for
example a "Green Detergent" could be named "Supersoap" or "MildSoap"
depending on the customer.

What would be the simplest way to have many aliases for the one
product?

Please help
Peter

Reply With Quote
  #2  
Old   
Roger
 
Posts: n/a

Default Re: Table entries require aliases. - 11-24-2011 , 06:09 AM






On Nov 23, 10:03*pm, Peter Jason <p... (AT) jostle (DOT) com> wrote:
Quote:
I have Access2010.

I have a "tblProducts" in my database linked to "frmInvoice".

Some of the products require different names for the same thing, *for
example a "Green Detergent" could be named "Supersoap" or "MildSoap"
depending on the customer.

What would be the simplest way to have many aliases for the one
product?

Please help
Peter
you could use a product alias table
so you have
tblProducts
productId (pk)
productName

tblProductsAlias
productAliasId (pk)
productId (fk)
productAliasName


this would allow you to have many alias names for a product

Reply With Quote
  #3  
Old   
Peter Jason
 
Posts: n/a

Default Re: Table entries require aliases. - 11-27-2011 , 03:20 PM



On Thu, 24 Nov 2011 04:09:55 -0800 (PST), Roger
<lesperancer (AT) natpro (DOT) com> wrote:

Quote:
On Nov 23, 10:03*pm, Peter Jason <p... (AT) jostle (DOT) com> wrote:
I have Access2010.

I have a "tblProducts" in my database linked to "frmInvoice".

Some of the products require different names for the same thing, *for
example a "Green Detergent" could be named "Supersoap" or "MildSoap"
depending on the customer.

What would be the simplest way to have many aliases for the one
product?

Please help
Peter

you could use a product alias table
so you have
tblProducts
productId (pk)
productName

tblProductsAlias
productAliasId (pk)
productId (fk)
productAliasName


this would allow you to have many alias names for a product
Thanks. Since each of my customers have their own price lists, I can
use tblProductsAlias as the source (via a query) in place of
tblProducts?

Is there any way to post here my Relationships screen?

Peter

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.