Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 09 Apr 2008 at 10:42pm
You can't put a semi-colon at the end of the "then" block. That terminates the entire If-then statement and it thinks that the "else if" is starting a brand new statement. Put the semicolon after the end of the Else block.
I have three chapters dedicated to showing how to write formulas and I give you lots of sample code to see how it all works. You can find out more about my books at
Amazon.com
or reading the Crystal
Reports eBooks online.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum