creating a Report Custom Function

When ever I create a new Report Custom Function I get an error "A ( is expected here."  An example of a function would be:

Function Test
  Test = "Function Name"
End Function
jmkbrownAsked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
Just tried creating one.

You apparently have CRYSTAL SYNTAX selected in the dropdown near the middle top of the formula editor.

Crystal Syntax is

Function Test( )
   "A"


mlmcc
0
 
MIKESoftware Solutions ConsultantCommented:
So do you have OTHER functions that are working or is this the first time you are trying to create a Custom Function?

In other words do you have other Custom Functions that you have created that DO work?
0
 
jmkbrownAuthor Commented:
There are other functions that were created by the previous Report writer.  I have even tried to copy one of those functions and I get the same error.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
mlmccCommented:
Try it as

Function Test( )
   Test = "A"
End Function

mlmcc
0
 
jmkbrownAuthor Commented:
I get the same result.  "A ( is expected here."  The area that is highlighted is the word "Test" on the first line.  
0
 
jmkbrownAuthor Commented:
Thank you very much.  As soon as I change the language to basic the problem was fixed.  Thanks again!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.