Doesn't matter - Kix is happy with either. I asked about the editor because sometimes an editor will replace the quotes with "typographic" quotes - usually Word, Outlook, or Wordpad are the culprits.

Just for sanity - Try: If InStr(@WKSTA, 'mtscapp') = 1
This will test for the string's presence starting at position 1.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D