G
Guest
Hi,
I want to create an "immediate if" function to search some text, and if
there is a n asterisk present, trim the text to put the text to the left of
the asterisk on one line, delete the asterisk, and put the trainling text on
the next line.
I'm doing this in an expression builder for a report. If there is no
asterisk, then the address will print on one line.
I'm thinking (but I know it's waay off):
IIF([Address].text has "*", Ltrim[Address] & Chr$(13) & Chr$(10)
&"Rtrim[Address]", [Address])
Any ideas?
Thank you,
Karl H
I want to create an "immediate if" function to search some text, and if
there is a n asterisk present, trim the text to put the text to the left of
the asterisk on one line, delete the asterisk, and put the trainling text on
the next line.
I'm doing this in an expression builder for a report. If there is no
asterisk, then the address will print on one line.
I'm thinking (but I know it's waay off):
IIF([Address].text has "*", Ltrim[Address] & Chr$(13) & Chr$(10)
&"Rtrim[Address]", [Address])
Any ideas?
Thank you,
Karl H