Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: What is the reserved word FORMULA Post Reply Post New Topic
Author Message
Central
Groupie
Groupie


Joined: 16 Feb 2011
Online Status: Offline
Posts: 56
Quote Central Replybullet Topic: What is the reserved word FORMULA
    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
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet 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
IP IP Logged
Central
Groupie
Groupie


Joined: 16 Feb 2011
Online Status: Offline
Posts: 56
Quote Central Replybullet 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.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.035 seconds.