Re: Another trim problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Use Instr to find the space then Left to get the name string

InStr([DistName], " ") finds the space so

Left([DistName, InStr([DistName], " ")-1)
Evi
"Golfinray" <Golfinray@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E810F436-6B52-4744-AD7B-2C17D3B1932B@xxxxxxxxxxxxxxxx
I have 250 school districts in my district field. All of them say Jones
School District or Smith School District. I want to return just the Jones
or
Smith and not the school district. Thanks, so much!!!


.



Relevant Pages

  • Re: JCT Not Available
    ... School District of Palm Beach County ... Parse Var numtype std cobol display /* NUMBER returns a string of 3 ... 'ISREDIT SEEK' fndparm 'FIRST' /* First see if there is a string ...
    (bit.listserv.ibm-main)
  • Another trim problem
    ... I have 250 school districts in my district field. ... All of them say Jones ... School District or Smith School District. ...
    (microsoft.public.access.queries)
  • Re: Another trim problem
    ... KARL DEWEY ... "Evi" wrote: ... School District or Smith School District. ...
    (microsoft.public.access.queries)