Query criteria...

  • Thread starter Thread starter 116
  • Start date Start date
1

116

I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 
Thanks you, but that displays the 9 characters to the right. I wish to strip
them when the query runs.

David

Golfinray said:
Try right([yourfield],9)

116 said:
I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 
Semantics! <g>

To some people, saying "strip off the right 9 characters" means "only
display the right 9 characters". Obviously to you it means "display
everything except the right 9 characters".

That would be

Left([yourfield], Len([yourfield]) - 9)

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


116 said:
Thanks you, but that displays the 9 characters to the right. I wish to
strip
them when the query runs.

David

Golfinray said:
Try right([yourfield],9)

116 said:
I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 
Thanks Doug. I see my mistake.

David

Douglas J. Steele said:
Semantics! <g>

To some people, saying "strip off the right 9 characters" means "only
display the right 9 characters". Obviously to you it means "display
everything except the right 9 characters".

That would be

Left([yourfield], Len([yourfield]) - 9)

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


116 said:
Thanks you, but that displays the 9 characters to the right. I wish to
strip
them when the query runs.

David

Golfinray said:
Try right([yourfield],9)

:

I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 
Thanks Doug. I see my mistake.

David

Douglas J. Steele said:
Semantics! <g>

To some people, saying "strip off the right 9 characters" means "only
display the right 9 characters". Obviously to you it means "display
everything except the right 9 characters".

That would be

Left([yourfield], Len([yourfield]) - 9)

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


116 said:
Thanks you, but that displays the 9 characters to the right. I wish to
strip
them when the query runs.

David

Golfinray said:
Try right([yourfield],9)

:

I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 
116 said:
I have a name field that is random in length. I have been trying to
configure LEN, RIGHT, LEFT with no luck trying to strip the right 9
characters which are the same on every value. Any assistance would be
greatly appreciated.

Thanks
David
 

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