|
06/15/2005 14:54 André Campanini wrote:
|
Hi Oleg,
We have problems in 2.93.01 version. We update our fomin version and now, we
canīt create a new Report Manager Window anymore... This procedures are created
without Window Definition, Extension etc...
We tried to update fomin from 2.92 to 2.93.01... Didnīt work. We tried to update
from 2.92 to 2.93 and the same thing happened.
What can we do?
Thankīs
Igor Sane
Enterprise Sistemas Lt.
Brazil - Sao Paulo
|
|
06/15/2005 14:58 Igor Sane wrote:
|
Iīm sorry
My user name isnīt Andre... My name is Igor Sane.
We work together and have the same problem...
Best regards..
Igor Sane
Enterprise Sistemas.
Brazil - Sao Paulo
|
|
06/15/2005 15:45 Oleg Fomin wrote:
|
Igor,
Please, make sure you have selected the "Defaults" tab when creating a new
ReportManager procedure.
Thank you,
---
Oleg Fomin <oleg@fomin.info>
|
|
06/15/2005 16:41 Igor Sane wrote:
|
Thankīs
I used the "Template" tab. Now occour a new error: "Unknow variable
%ReportIndentifier"
If you click on the button OK, other errors quite similiar occours.
This error start to occour when we update to the 6.93 (or 6.93.01)...
I tried to delete my ReportManager and create a new ReportManager...
But I have no sucess...
What more can I do?
PS: The 6.93.01 dont register FRB.TPL or FRBC.TPL... I needed to unregister,
Install and register the templates...
Thankīs
Igor Sane
|
|
06/16/2005 03:30 Oleg Fomin wrote:
|
Igor,
> error: "Unknown variable %ReportIdentifier"
You have created ReportManager procedure and specified procedure name for
RunTimeReport. But your RunTimeReport procedure is not yet defined (looks
like "ToDo"). Please, go ahead and create RunTimeReport procedure as well.
ReportManager can not be generated/compiled without RunTimeReport.
Best regards,
---
Oleg Fomin <oleg@fomin.info>
|
|
06/16/2005 08:12 Igor Sane wrote:
|
Hi Oleg,
No. I didnīt do this.
This error occours with my old procedures thatīs allways work fine...
Iīm using Clarion Professional 6.1 - build 9034..
Best regard
Igor Sane
|
|
06/16/2005 10:11 Igor Sane wrote:
|
Explaining better:
I just tried to compile my old app - thatīs work in 292 version.
I use a Multi DLL app. In the past I use the extension "Check DLL ..." in the
"dummy" app, now the Template name is "Supress...", ok no problem.
My "dummy" app compile without erros. I have four or five "Functions" app in my
Exe. One "Function" app work fine... In the other "Functions" app occour an
error: "Unknow variable %ReportIndentifier".
Thank you
Igor Sane
Enteprise Sistemas
Brazil - Sao Paulo - SP
|
|
06/16/2005 10:45 Oleg Fomin wrote:
|
Igor,
> I use a Multi DLL app. In the past I use the extension "Check DLL ..." in
the "dummy" app, now the Template name is "Supress...",
Make sure, the "Completely suppress FRB from ABC-Library" check box is
cleared.
> I have four or five "Functions" app in my Exe. One "Function" app work
fine... In the other "Functions" app occour an
error: "Unknow variable %ReportIndentifier".
Try to make some prophylactic actions like:
- open each RunTimeReport procedure, which is used by this problematic
ReportManagee and save it;
- redistribute procedures (one per module),
- repopulate modules,
- renumber modules,
- regenerate application,
- ultimately, export APP to TXA and import TXA back to an empty APP.
HTH,
---
Oleg Fomin <oleg@fomin.info>
|
|
06/16/2005 13:56 Igor Sane wrote:
|
Hi Oleg
Not yet... We notice this problem just occour when in the ReportManager we use a
External RunTimeReport that was declared in other dll.
If we use only RunTimeReport declared in the same app or just one EXE (whitout
any DLL) this didnīt occour.
Any other idea?
Thank you for help!
Best Regard
Igor Sane
Enterprise Sistemas
Brazil - Sao Paulo - SP
|
|
06/16/2005 16:15 Oleg Fomin wrote:
|
|
Igor,
Ok. I did understand what the
problem is. Current template version does not allow to use external
RunTimeReport procedures. ReportManager and all the corresponding RunTimeReport
procedures must be located inside one app.
This is due relatively new
"Report type/identifier:" field in RunTimeReport procedure template.
ReportManager template must be aware of the contents of this field. This
is accomplished by means of #CONTEXT(%Procedure) template statement.
And this does not work when the %Procedure is
external.
Please, find
template code below in the FRB.TPL file and FRBC.TPL file.
#FOR(%Procedure),WHERE(%Procedure=%RunTimeReportProcedure)
#CONTEXT(%Procedure)
#IF(%ReportIdentifier)
#SET(%CustomFlagSetting,%ReportIdentifier)
#ELSE
#SET(%CustomFlagSetting,%Procedure)
#ENDIF #ENDCONTEXT
#ENDFOR
And replace this code fragment with following fixed
template code:
#FOR(%Procedure),WHERE(%Procedure=%RunTimeReportProcedure)
#CONTEXT(%Procedure) #IF(VAREXISTS(%ReportIdentifier) AND
%ReportIdentifier)
#SET(%CustomFlagSetting,%ReportIdentifier)
#ELSE
#SET(%CustomFlagSetting,%Procedure)
#ENDIF #ENDCONTEXT
#ENDFOR
Subsequent FRB release will have this
fix included.
Hope this
helps, --- Oleg Fomin <oleg@fomin.info>
|
|
06/17/2005 09:50 Igor Sane wrote:
|
Thank you Oleg!
We downloaded the new version (2.93.02) and the problem is solved now.
Best Regards
Igor Sane
Enteprise Sistemas
Brazil - Sao Paulo - SP
|