How can I place partial data from a field in a report?

G

Guest

I am working with an acess database linked to another database through an
ODBC. There is a field in the linked table that contains several pieces of
information. I need to display the the first 5 characters in one part of the
report, and characters 6-10 in another. I tried =field_name (1,5) but I seem
to be missing something.
Thanks
 
F

fredg

I am working with an acess database linked to another database through an
ODBC. There is a field in the linked table that contains several pieces of
information. I need to display the the first 5 characters in one part of the
report, and characters 6-10 in another. I tried =field_name (1,5) but I seem
to be missing something.
Thanks

=Left([FieldName],5)
=Mid([FieldName],6,5)
 
G

Guest

Thank you. It worked :)

KARL DEWEY said:
Try this --
Left([field_name],5)
and
Right(Left([field_name],10),5)

--
KARL DEWEY
Build a little - Test a little


Glova said:
I am working with an acess database linked to another database through an
ODBC. There is a field in the linked table that contains several pieces of
information. I need to display the the first 5 characters in one part of the
report, and characters 6-10 in another. I tried =field_name (1,5) but I seem
to be missing something.
Thanks
 

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

Top