S
Susan
I thought I had done something like this before, but
can't seem to find it or remember how.
I am appending data from 10 fields into one using a
query. The data will be separated by a "; " (semi-colan
and 2 spaces) If there is no data in the first field, my
final answer begins with this string "; " and I want to
somehow evaluate the answer and if it begins with this, I
want to move 3 characters to the right and only append
from there to the end of the remaining string.
My first field is:
txtCommentCombine: IIf([Comment] Is Not Null,
[Comment],"") & IIf([Comment2] Is Not Null,"; " &
[Comment2],& IIf([Comment3] Is Not Null,"; " &
[Comment3]"")
Then I wanted my second field to look at the first 3
characters of the above [txtCommentCombine] and if it
is "; " I either need to remove those 3 or just go past
them.....any ideas? Am I going about this all wrong??
THANKS!!
can't seem to find it or remember how.
I am appending data from 10 fields into one using a
query. The data will be separated by a "; " (semi-colan
and 2 spaces) If there is no data in the first field, my
final answer begins with this string "; " and I want to
somehow evaluate the answer and if it begins with this, I
want to move 3 characters to the right and only append
from there to the end of the remaining string.
My first field is:
txtCommentCombine: IIf([Comment] Is Not Null,
[Comment],"") & IIf([Comment2] Is Not Null,"; " &
[Comment2],& IIf([Comment3] Is Not Null,"; " &
[Comment3]"")
Then I wanted my second field to look at the first 3
characters of the above [txtCommentCombine] and if it
is "; " I either need to remove those 3 or just go past
them.....any ideas? Am I going about this all wrong??
THANKS!!