Full Version: Eliminate Spaces
UtterAccess Discussion Forums > Microsoft® Access > Access Queries
Shiner452
Is there a way I can create a query field that will take the spaces out of a field.

I want to turn this "Fifty five" into "Fiftyfive"
Doug Steele
Use the Replace function:

Replace("Fifty five", " ", "")

I'm assuming that your value is actually in a variable (let's call it MyString), in which case you'd use

Replace(MyString, " ", "")
Shiner452
Awsome...you the man!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.