Adding suffix to all the values in a field ( concatenate)

  • Thread starter mls via AccessMonster.com
  • Start date
M

mls via AccessMonster.com

I want to add a suffix to all the values in one field.. and I tried the
follwing but show errors

temp = RNP
temp = Trim(Left(temp) & "_" & "Ct")
MsgBox temp


my output should show at RNP_Ct
 
D

Dorian

temp = temp & "Ct"
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
M

mls via AccessMonster.com

I tried this but my test value is just _Ct. RNP is missing
test = temp & "_Ct"
MsgBox test
temp = temp & "Ct"
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
I want to add a suffix to all the values in one field.. and I tried the
follwing but show errors
[quoted text clipped - 4 lines]
my output should show at RNP_Ct
 
D

Dorian

Well you do have to dimension temp and move the prefix into it.
I had assumed you'd know that.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


mls via AccessMonster.com said:
I tried this but my test value is just _Ct. RNP is missing
test = temp & "_Ct"
MsgBox test
temp = temp & "Ct"
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
I want to add a suffix to all the values in one field.. and I tried the
follwing but show errors
[quoted text clipped - 4 lines]
my output should show at RNP_Ct

--



.
 

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