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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
mlmccCommented:
Try it as

Function Test( )
   Test = "A"
End Function

mlmcc
0
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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
mlmccCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jmkbrownAuthor Commented:
Thank you very much.  As soon as I change the language to basic the problem was fixed.  Thanks again!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.