Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Simple Formulas
Oldest Post First
Newest Post First
Author
Message
mikebird
Groupie
Joined: 04 Mar 2008
Location: United Kingdom
Online Status: Offline
Posts: 70
Topic: Simple Formulas
Posted: 15 Apr 2008 at 2:36am
I need to create three columns of data from two columns in a table.
Very simple, but something is failing.
One column is the item_ref, so contains a load of text values. Other is the currency values, base_price. Three columns I need are SOR, MATS, HOURS.
SOR is all values in base_price except where MATS / HOURS are involved, so formula is
if {Ccs_Q_Sections.Ccs_Qos_Item_Ref} <> ["MATS", "HOURS"]
/then {Ccs_Q_Sections.Ccs_Qos_Base_Price#6}
fine.
others are similar to each other of course:
if {Ccs_Q_Sections.Ccs_Qos_Item_Ref} = "MATS"
then {Ccs_Q_Sections.Ccs_Qos_Base_Price#6}
if {Ccs_Q_Sections.Ccs_Qos_Item_Ref} = "HOURS"
then {Ccs_Q_Sections.Ccs_Qos_Base_Price#6}
These just show zero, where I can see item_ref is shown and MATS, HOURS come up in the same row. Should see the value. These formulae are wrong.
I have a feeling you'll be able to spot immediately what I am doing wrong!
Thanks
IP Logged
mikebird
Groupie
Joined: 04 Mar 2008
Location: United Kingdom
Online Status: Offline
Posts: 70
Posted: 15 Apr 2008 at 5:21am
Fixed by writing from scratch
Hindered encouraged to use crap template. Bad to rely on others' work
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
This page was generated in 0.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.