similar Records

J

Justin

I have a text field that users entry in attribute data. These attributes
change frequently and to provide a smooth flow I allow users the ability to
create the attributes. Unfortunately they don't always follow the same
convention. Luckly it is always at the end of the string, but some use
"Bottom" or "Btm" or "Btm:". Is there a way to write a query that will
recognize these as he same. I thought about a conversion list, but there are
thousands of attributes, the list would be hard to manage.
 
E

Evi

Whenever you have this sort of scenario, you know that you need another
table. This is what databases do best.
Store the available attributes in a table. Put the primary key into your
data entry table as a foreign key and put a combo box into your form so that
users can choose the value they require.

So, for instance, if attributes (whatever you mean in your database) is one
field which you have to fill in when you are buying something, then
TblAttributes would have
AttribID (Primary Key, Autonumber)
Attribute (eg Bottom, Top or whatever YOU decide a user should enter to
describe this)

your Purchase table
could contain
its own primary key then
AttribID
as a foreign Key field. A combo box based on TblAttributes would allow your
users to make a suitable selection
Evi
 
J

Justin

There is a look-up table to control this. However, after ten years and many
different users similar attributes have been recorded. I'm looking for an
easy way of grouping them, rather than changing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top