Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Crystal report 2008 SP5 Error with formula Post Reply Post New Topic
Author Message
delphi.about
Newbie
Newbie


Joined: 05 Sep 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote delphi.about Replybullet Topic: Crystal report 2008 SP5 Error with formula
     Posted: 05 Sep 2012 at 11:12pm
Dear guys,

I have problem with crystal report 2008 sp5 on Vs2010.
My problem is :
When i design report on CR2008, every formula work well. But when i deploy, they raise error look like : "Error formular : The field name is not known"

My formula very simple:

numbervar ldblDebtLast;
ldblDebtLast := {Store1;1.DebtFrst}-{Store1;1.CrdtFrst}
if ldblDebtLast < 0 then
   -ldblDebtLast
else
   0;

P/s : All field is not null(default value is 0) and validated on report design ok.

Some body to help me what is real problem ?

Thanks very much.

Edited by delphi.about - 05 Sep 2012 at 11:14pm
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 06 Sep 2012 at 12:09am
It seems, it is unable to to locate the fields which you have mentioned in your formula.  Check whether these fields are accessbale from your Vs2010.  Try to place these two fields on your report insted of formula and check.
 
 
Thanks,
Sastry
IP IP Logged
delphi.about
Newbie
Newbie


Joined: 05 Sep 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote delphi.about Replybullet Posted: 06 Sep 2012 at 5:01am
Thanks Sastry,
I not sure full understand your idea. All formula in report file and i designed report on crystal report studio not on VS2010.
IP IP Logged
delphi.about
Newbie
Newbie


Joined: 05 Sep 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote delphi.about Replybullet Posted: 09 Sep 2012 at 6:42pm
Hello Guys,

The problem still there, after few day try to find the problem.

Can you give me some idea ?
IP IP Logged
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