"TomMcIn" <tom_mcintosh (AT) shaw (DOT) ca> wrote
Quote:
I want to identify any fields that do not have a backslash \ as the
first character in the field. Some of the fields have two \s on the
left end.
If I test with Left ( Self ; 1 ) ? "\" FM complains there is no
ending quotation mark.
If I test with Left ( Self ; 1 ) ? "\\" FM shows fields with one \
as failing but two \s are OK
If I tests with Left ( Self ; 1 ) ? "\\\" FM complains there is no
ending quotation mark.
Suspect I have to substitute / for \ before testing the left
end. |
The easiest way around these untypeable and problem characters (including
backslash, quotation mark, tab, etc.) is to use a Global Field to store one.
- Create a Global Field:
g_Backslash Global Text
- Temporarily put this Field in any Layout's Body
part, and in Browse mode type a / into it, then
you can remove the Frield from the Layout again.
- Now your If command simply becomes:
If (Left (Self; 1) ? g_Backslash)
Helpfull Harry

)