Select everything left

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Access 2000, what expression could I use in a query in order to select
everything to the left of a special symbol (the forward slash: /) from a text
field, please?
 
Field: GetLEft: IIF(SomeField Like
"?/*",LEFT(SomeField,Instr(1,SomeField,"/")-1),SomeField)


--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Worked brilliantly. Thanks very much.

John Spencer said:
Field: GetLEft: IIF(SomeField Like
"?/*",LEFT(SomeField,Instr(1,SomeField,"/")-1),SomeField)


--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Back
Top