Is there a function to create a field from part of another field?

  • Thread starter Thread starter jdriv
  • Start date Start date
J

jdriv

Can I create a field displaying part of another field using a character (-)
to stop the output.
 
Can I create a field displaying part of another field using a character (-)
to stop the output.

"part"? Which part? And what do you mean by "to stop the output"???

Please give an example of the data in the fields (perhaps with fieldnames) and
the desired output.
 
Can I create a field displaying part of another field using a character (-)
to stop the output.

We cannot see your database nor read your mind.
A brief example saves a lot of guessing.

Something like having "ASD-ZXC" and getting "ASD" and "ZXC"?

=Left([FieldName],InStr([FieldName],"-")-1)
and
=Mid([FieldName],InStr([FieldName],"-")+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