Print Page | Close Window

What is the reserved word FORMULA

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20371
Printed Date: 02 May 2024 at 3:20pm


Topic: What is the reserved word FORMULA
Posted By: Central
Subject: What is the reserved word FORMULA
Date Posted: 21 Jan 2014 at 4:57am
Hi,
 
I am working with a work collegue's crystal report and notice that there is a reserved word FORMULA i.e. it turns blue.
 
He has a syntax of formual = a
 
What is this and how is it used in a report?
 
Confused



Replies:
Posted By: kevlray
Date Posted: 21 Jan 2014 at 5:19am
It is used when you are using BASIC syntax (vs. Crystal) in a formula.  It is required to return the value of the formula.  Example:

Dim x as integer
Dim y as integer
x =2
y = 4
Formula = x+y


Posted By: Central
Date Posted: 21 Jan 2014 at 5:23am
Thanks Kevlray for the quick reply.
 
Looking at the syntax and your explaination, I can see how this works now.



Print Page | Close Window