-
March 6th, 2013, 01:49 PM
#1
Field not known
Hey everyone i got a small problem on my hand. I'm doing multiple report that use all the same formula and they all work, but one and i don't know why. Let me explain I use this formula in 4 reports and it worked perfectly but when i try to use it in fifth one it always say field no know error in file.
Here is my code for the formula:
Shared numberVar z;
Shared StringVar array CodeDesc;
Shared StringVar array CodeCont;
numberVar Verification := DistinctCount(CodeDesc)-1;
StringVar EstDejaLa := "1";
numberVar y := 1;
CodeDesc[1];
For y := 1 To Verification do
(
if(CodeDesc[y] = {ReportReception.cntDescription}) then
(
if(CodeCont[y] = {ReportReception.cntCode}) then
(
EstDejaLa := "0";
)
)
);
if(StrCmp(EstDejaLa,"1") = 0) then
(
CodeDesc [z] := {ReportReception.cntDescription};
Redim preserve CodeDesc[UBound(CodeDesc)+1];
z := z+1;
CodeDesc[z-1];
)
So someone did someone got the same problem as mine?
-
March 6th, 2013, 08:08 PM
#2
Re: Field not known
Have you verified database?
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|