Text to columns in access 2000

G

Guest

My Access 2000 database contains a field name [ITEM]. Data in this field is
a varable number of characters to the left of an = sign and a variable number
of characters to the right of an = sign. I want to display only the
characters to the left of the = sign. I tried Split but apparently Access
2000 does not support that function. I need help.
 
P

pietlinden

Stupid said:
My Access 2000 database contains a field name [ITEM]. Data in this field is
a varable number of characters to the left of an = sign and a variable number
of characters to the right of an = sign. I want to display only the
characters to the left of the = sign. I tried Split but apparently Access
2000 does not support that function. I need help.

use InStr to find the location of the first =, then use LEFT to get all
the characters to the left of that. Or you can use MID to start at
some other position than 1.
 
G

Guest

YES, This worked. Now I'm not so Stupid. Thanks a bunch

KARL DEWEY said:
Try this --
Left([ITEM], InStr([ITEM],"=")-1)

Stupid and can prove it. said:
My Access 2000 database contains a field name [ITEM]. Data in this field is
a varable number of characters to the left of an = sign and a variable number
of characters to the right of an = sign. I want to display only the
characters to the left of the = sign. I tried Split but apparently Access
2000 does not support that function. I need help.
 

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