Author | Topic: FRAX dataset not exists | |
---|---|---|
Rudolf Reinthaler | FRAX dataset not exists on Thu, 13 Mar 2014 09:00:34 +0100 Hello, I have a strange problem with FRAX. I have a report with database fields, the variables are all visible in the right panel. But when I try the preview, I get the error "dataset "ZS" does not exist", but the alias zs is available. When pressing the preview button again, it works. So only the first time FRAX cannot find ZS. The same happens when printing. regards Rudolf ... FrPrn := frReportManager():new() FrPrn:SetIcon(1) FrPrn:SetTitle(cTitle) FrPrn:SetVisualActions(FR_ACT_DISABLE); FrPrn:SetEventHandler("Report", "OnProgressStart", {|x,y|ShowProgress(x, y, 1)}) FrPrn:SetEventHandler("Report", "OnProgressStop", {|x,y|ShowProgress(x, y, 2)}) FrPrn:SetEventHandler("Report", "OnProgress", {|x,y|ShowProgress(x, y, 3)}) FrPrn:SetEventHandler("Report", "OnBeforePrint", {|ObjName|ShowProcess(ObjName)}) if fexists(addpath(cResDir,"german.frc")) FrPrn:LoadLangRes(addpath(cResDir,"german.frc")) endif select zs FrPrn:SetWorkArea("ZS", select("ZS"),,{FR_RB_CURRENT,FR_RE_CURRENT,1}) cFields := "BEZ=Bezeichnung;REPORT=Report;CHAR1=Char1;CHAR2=Char2;CHAR3=Char3;CHAR4=Char4;CHAR5=Char5;CHAR6=Char6;CHAR7=Char7;CHAR8=Char8;CHAR9=Char9;CHAR10=Char10;CHAR11=Char11;CHAR12=Char12;CHAR13=Char13;CHAR14=Char14;CHAR15=Char15;CHAR16=Char16;NUM1=Num1;NUM2=Num2;NUM3=Num3;NUM4=Num4;NUM5=Num5;NUM6=Num6;NUM7=Num7;NUM8=Num8;NUM9=Num9;NUM10=Num10;" FrPrn:SetFieldAliases("ZS",cFields) ... --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com |