blakemckenna
Feb 17th, 2006, 04:58 PM
Hi,
I didn't know where else to post this question so I thought I'd try here. I have a formula that is giving me an error that I don't know how to resolve. Here is my code
If Length ({tblVendor.venAddr2}) > 0 Then
Trim ({tblVendor.venAddr2})
Trim ({tblVendor.venCity}+", "+{tblVendor.venState}+" "+{tblVendor.venZipCode})
Else
Trim ({tblVendor.venCity}+", "+{tblVendor.venState}+" "+{tblVendor.venZipCode})
The error message is:
"The remaining text does not appear to be part of the forumula"
It bombs at the beginning of the 2nd Trim statement in the If branch. I tried using the continuation character "_" and the end of the Then and also using an End If statement and neither of those worked.
Anyone have any ideas?
Thanks,
Blake
I didn't know where else to post this question so I thought I'd try here. I have a formula that is giving me an error that I don't know how to resolve. Here is my code
If Length ({tblVendor.venAddr2}) > 0 Then
Trim ({tblVendor.venAddr2})
Trim ({tblVendor.venCity}+", "+{tblVendor.venState}+" "+{tblVendor.venZipCode})
Else
Trim ({tblVendor.venCity}+", "+{tblVendor.venState}+" "+{tblVendor.venZipCode})
The error message is:
"The remaining text does not appear to be part of the forumula"
It bombs at the beginning of the 2nd Trim statement in the If branch. I tried using the continuation character "_" and the end of the Then and also using an End If statement and neither of those worked.
Anyone have any ideas?
Thanks,
Blake