OK FlakyJake . . . . . .
First, the field line was not complete. It should be :
NewFieldName:Left(SourceFieldName,InStr(1,"SourceFieldName","SearchString"
-1)
Second, yes, the function grabs the left characters up until
"þ". The function
InStr(1,"SourceFieldName","SearchString"
returns an index to the delimiting character. While
Left(SourceFieldName,Index-1) returns the text up to the delimiter. In this field in the query, the e-mail addresses are displayed.
Yes, its executed in the new field grabbing the data from the sourcefield.
Since your only problem now is identifying the delimiting character, do the following.
In your query, in the first record, determine how many characters the delimiter actually is, and count the position of the first delimiting character. Then (as a test) in a new field (on the field line), enter the following:
AscChr:ASC(Mid(SoureFieldName,DelimiterPosition,1))
Run the query. The ASC equivalent of the delimiter will be returned as a number. Use this in the search string as
Chr(Number).
If by chance the delimiter is more than one character, perform the above and get the numbers for each. The SearchString then becomes :
Chr(Num) & Chr(Num) . . .
You don't have to update anything, and no, the function does not delete the source.
Hope this helps and clears things up . . . . . .
TheAceMan