Changing format of name field

  • Thread starter Thread starter Pete Provencher
  • Start date Start date
P

Pete Provencher

Using Access 2000:

I have a field called Name that has the name in the following format:

Smith, John A

I would like to change it to:

John A Smith

Can anyone tell me how to do this in a query?


Pete Provencher
 
In the next available coulmn, put this expression in

Mid([Name], InStr([Name], ",") + 1) & " " & Left([Name], InStr([Name],
",") - 1)
 
Thanks. it worked like a charm.

Pete Provencher
JohnFol said:
In the next available coulmn, put this expression in

Mid([Name], InStr([Name], ",") + 1) & " " & Left([Name], InStr([Name],
",") - 1)





Pete Provencher said:
Using Access 2000:

I have a field called Name that has the name in the following format:

Smith, John A

I would like to change it to:

John A Smith

Can anyone tell me how to do this in a query?


Pete Provencher
 

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

Similar Threads

InStr function 8
Creating Multiple Records from Single Delimited Field 1
Query update 3
Update query 2
Update Query 2
Excel Comparing two columns 1
Trim Last Name 1
Reversing name values in a field 4

Back
Top