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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Taking spaces out of field name

Status
Not open for further replies.

T1na

MIS
Oct 28, 2003
15
GB
We have a surname field that has two names in it e.g. Bob Jones the space is causing problems in validation. How do I take the space out and replace the space with a – so will receive the following result Bob-Jones.
 
//{@surname}
replace({table.surname},' ','-')

You can use the same approach to omit spaces if required:

//{@surname}
replace({table.surname},' ','')

Good luck

'J
 
Create a formula field saying

Code:
Replace({your.field}, " ", "-")

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top