Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing variables

Status
Not open for further replies.

programmher

Programmer
May 25, 2000
235
0
0
US
I have to check and change correspondence saluations on a CF form.

My parameters are:

<cfparam name=SalutationBeg default=&quot;Sir or Maam&quot;>
<cfparam name=SalutationEnd default=&quot;Valued Customer&quot;>

The user is passing the person's name as form.addressee.

I want to create another parameter that includes:

SirorMaam#formAddresseevaluedCustomer

This is what my boss wants updated to the database. What is the best method of doing this with a string?
 
Do not understand what you are trying to do, can you describe your problem a bit more? Erwin Oosterhoorn
Analyst Programmer,
Roller hockey'er, biker,
ice hockey player/fan.
 
You pretty much had it... if I understand what you're trying to do.
Code:
<CFSET fullSalutation = &quot;#SalutationBeg# #form.Addressee# #SalutationEnd#&quot;>
-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top