N
nadesico
This might be a really simple question, but how do you remove a comma from
the end of a string? For example,
apple,
pear, grape,
orange, peach, apricot,
If there are three records in the same field and they all end with a comma,
how do you remove it? I used the following, but it changed the field to an
invalid data type
Fruit: Left([Field1], Len([Field1])-1)
I also tried another way but it only showed the friuts to the left of the
first comma only and not the rest
Fruit: Left ([Field1], InStr([Field1], ", ")-1)
Is there another way so the above 2 results do not show up? Any help would
be greatly appreciated.
the end of a string? For example,
apple,
pear, grape,
orange, peach, apricot,
If there are three records in the same field and they all end with a comma,
how do you remove it? I used the following, but it changed the field to an
invalid data type
Fruit: Left([Field1], Len([Field1])-1)
I also tried another way but it only showed the friuts to the left of the
first comma only and not the rest
Fruit: Left ([Field1], InStr([Field1], ", ")-1)
Is there another way so the above 2 results do not show up? Any help would
be greatly appreciated.