Memo Expression Help
al_noland
Tulsa, Oklahoma
I am trying to get a variable expression to work using the IIF function. I want to Print a different message based on paged number. Here is my expression that fails. Hopefully someone can help me out.
[IIF(<Page> = 2,'','Continued From page' + [floattostr(<Page>)])]
Thanks in advance.
[IIF(<Page> = 2,'','Continued From page' + [floattostr(<Page>)])]
Thanks in advance.
Comments
[IIF(<Page> > 1,'continued from Page: ' +VarToStr(<Page> -1),'Page: '+Vartostr(<Page>))]
Thanks, this is what I need to see.
Is there any documentation available for this topic?
select a text object go into edit mode use the expression builder to build the expression in most cases this will set the correct braces for you.
the reason vartostr() is used is the fact that you are trying to concantenate the variants return value to the string portion assigned to the expressions true or false value.