Return just part of a value

  • Thread starter Thread starter Anthony Viscomi
  • Start date Start date
A

Anthony Viscomi

I would like to just return part of a value contained within a field from my
query.

Example: NAGGY,JACOB A

I only want the value up to the comma; how would I achieve this?

Thanks!
Anthony
 
Do a search. This is asked all the time. You will need to use the MID and
INSTR functions.
 
I would like to just return part of a value contained within a field from my
query.

Example: NAGGY,JACOB A

I only want the value up to the comma; how would I achieve this?

Thanks!
Anthony

In a query...

LastName:Left([FullName],Instr([FullName],",")-1)
 

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

Back
Top