I am getting the following error message on the highlighted code from a Crystal Report 10.2 formula:
"A variable type (for example 'String') is missing"
Here is my CR Formula in Basic Syntax
What am I doing wrong?Code:Dim intMonth as Int intMonth = Month (DateValue ({tblTimeSheetDetail.beginPeriodDate})) Select Case intMonth Case 1 Formula = "January" Case 2 Formula = "February" Case 3 Formula = "March" Case 4 Formula = "April" Case 5 Formula = "May" Case 6 Formula = "June" Case 7 Formula = "July" Case 8 Formula = "August" Case 9 Formula = "September" Case 10 Formula = "October" Case 11 Formula = "November" Case 12 Formula = "December" End Select
Thanks,




Reply With Quote