G
Guest
I have a spreadsheet that I import into a database. One of the columns in
the spreadsheet gets imported into a combo box (I want to limit the
selections available because of the reports that I have). Unfortunately,
there are too many things that can be written into this field. What I would
like to do is write an update query that will go through the field after
import searching for specific words and if it finds a specific word (such as
catholic or baptist) then it would update the combo box to what it is
supposed to show. What I have now is that sometimes the field will show
something like roman catholic, catholic churches, or just plain catholic, so
I want it to search for the specific key word (catholic) and then change the
value to what's in the combo box (Roman Catholic). I know all the values
that can show up, so I know what key words I need to use.
the spreadsheet gets imported into a combo box (I want to limit the
selections available because of the reports that I have). Unfortunately,
there are too many things that can be written into this field. What I would
like to do is write an update query that will go through the field after
import searching for specific words and if it finds a specific word (such as
catholic or baptist) then it would update the combo box to what it is
supposed to show. What I have now is that sometimes the field will show
something like roman catholic, catholic churches, or just plain catholic, so
I want it to search for the specific key word (catholic) and then change the
value to what's in the combo box (Roman Catholic). I know all the values
that can show up, so I know what key words I need to use.