Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: crystal report
Author
Message
rafi
Newbie
Joined: 19 Jul 2011
Location: India
Online Status: Offline
Posts: 10
Topic: crystal report
Posted: 14 Oct 2011 at 2:12am
hi i need to calculate in crystal report which is vat_amt would be calculated based on vat(5,14.5)
i have field eg : invoice_no rate ,vat,vat_amt,total
IF {vat.field}) = 5 THEN // if vat is 5 percentage
vat_amt =(rate * vat ) /100
ELSE
IF {vat.field}) = 14.5 THEN // if vat is 14.5 percentage
vat_amt =(rate * vat ) /100
i am getting error above code please correct and reply me .
IP Logged
lockwelle
Moderator
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 14 Oct 2011 at 5:28am
if {vat.field}) = 5 then
should be {vat.field} = 5 then
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.