Sergey's cmopatibility once more
Publicado: Lun Nov 25, 2013 2:16 pm
Hi,
1. As i've mentioned in my previous post compatibility is very important for us because we have hundreds of individually prepared reports for our clients. And such a incopatibility like in function AddVariable() is a pain. Why? Because our model is as follows:
- ReportName.hrb file with raport body ( opens data, prepares
vars, calls fr etc)
- ReportName.fr3 raport definitione file.
So we have to rewrite all prg/hrb at client's site.
The incopmatibility is:
Segeys:
:AddVariable(cCategory, cName, xValue)
Xailer:
:AddVariable( cName, xValue)
ccCategory can be dummy or :AddVariable should behave compatible when 3 parameters occur.
So we have to check/rewrite hundreds of prg/hrb files. It will be no problem when we have to change only once code of program module.
2. We use also second model with different standalone fr3 reports in the same database environment (no hrb code, clean Fast Report). It's possible with TfrxHarbourWorkarea. You wrote that this is useless ? Do you mean "SetTxtDataset method since we believe is useless" is the same as "TfrxHarbourWorkarea"?. Maybe you 'll implement it in the future? we can wait. Or can you show us another method to implement our second model with existing fr objects/methods.
Andrzej Morgiewicz
1. As i've mentioned in my previous post compatibility is very important for us because we have hundreds of individually prepared reports for our clients. And such a incopatibility like in function AddVariable() is a pain. Why? Because our model is as follows:
- ReportName.hrb file with raport body ( opens data, prepares
vars, calls fr etc)
- ReportName.fr3 raport definitione file.
So we have to rewrite all prg/hrb at client's site.
The incopmatibility is:
Segeys:
:AddVariable(cCategory, cName, xValue)
Xailer:
:AddVariable( cName, xValue)
ccCategory can be dummy or :AddVariable should behave compatible when 3 parameters occur.
So we have to check/rewrite hundreds of prg/hrb files. It will be no problem when we have to change only once code of program module.
2. We use also second model with different standalone fr3 reports in the same database environment (no hrb code, clean Fast Report). It's possible with TfrxHarbourWorkarea. You wrote that this is useless ? Do you mean "SetTxtDataset method since we believe is useless" is the same as "TfrxHarbourWorkarea"?. Maybe you 'll implement it in the future? we can wait. Or can you show us another method to implement our second model with existing fr objects/methods.
Andrzej Morgiewicz