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

Trim one field into two fields based on the space chacter

Status
Not open for further replies.

Mack2

Instructor
Mar 12, 2003
336
US
We have imported some data. The import has combined two fields into one. I would like to break them back into two fields. There is a space in between the two values (fields). How can I trim the field once there is a space? Thanks for your help!!!!
 
I would like to break them back into two fields
Have a look at the Split function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Hi PHV,

Thanks for the reply.

After reading up on the split function, I thought it would work. But The query designer does not recognize the function. And it seems like there has to be a quicker way to do this than writing a function. Is there a function that will find the space and can be used in the query designer?? THANKS FOR YOUR HELP!
 
Have a look at the Left, InStr and Mid functions.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top