M
Mitch
Hi all, i'd like to create a update query that does this
in Excel....
Range("K:K").Replace What:="Ltr/C",
Replacement:="Letter", _
SearchOrder:=xlByColumns, MatchCase:=False
....although I can already do this in Excel i'd like to be
able to do this in Access200o. From what I understand I
have to use an update query but i'm not sure how to use
IIF in the update field in the query. The value in the
field I want to update could look like "xxxltr/cxx"
or "xltr/cxxxxx" but I want to update it to read Letter
or if it reads "xxldgrxxx" I want to change it to
read "Ledger" so the qwuery has to look for certain text
and change it to the value depending on if it finds that
specific text. I hope that makes sense !!
Thanks in advance,
Mitch....
in Excel....
Range("K:K").Replace What:="Ltr/C",
Replacement:="Letter", _
SearchOrder:=xlByColumns, MatchCase:=False
....although I can already do this in Excel i'd like to be
able to do this in Access200o. From what I understand I
have to use an update query but i'm not sure how to use
IIF in the update field in the query. The value in the
field I want to update could look like "xxxltr/cxx"
or "xltr/cxxxxx" but I want to update it to read Letter
or if it reads "xxldgrxxx" I want to change it to
read "Ledger" so the qwuery has to look for certain text
and change it to the value depending on if it finds that
specific text. I hope that makes sense !!
Thanks in advance,
Mitch....