Most (I think almost all) of my reports are done using the class Tprinter like this:
Nothing strange up to here, just until I do:
The user gets a beautiful preview screen (no DLL here, thank you FiveWin team) with nice little buttons which the user begins to click one by one (the chicken effect I guess) until it gets to the “Export to Excel” button in which the user gets an ugly cryptic message saying “Export to Excel is available only for Reports with ::bInit defined”.
The concrete question is How can I get rid of this message or at least change it to something like “Option not available” (in the language of my choice)?
PRINT oReport NAME "This is your report" PREVIEW
DEFINE FONT oFont NAME "COURIER" SIZE 0,-6 OF oReport  //Courier,6
DEFINE PEN oPen WIDTH 1 OF oReport
nColmns:=oReport:nHorzRes()/264 Â && 200 columns
nRows:=oReport:nVertRes()/66 Â && 66 rows
PAGENothing strange up to here, just until I do:
oReport:ENDPAGE()
ENDPRINT
PrnPortrait()
oFont:END()
oPen:END()The user gets a beautiful preview screen (no DLL here, thank you FiveWin team) with nice little buttons which the user begins to click one by one (the chicken effect I guess) until it gets to the “Export to Excel” button in which the user gets an ugly cryptic message saying “Export to Excel is available only for Reports with ::bInit defined”.
The concrete question is How can I get rid of this message or at least change it to something like “Option not available” (in the language of my choice)?