Converting Reports in background DM -> EURO
Hello!
We are printing invoices via templates which are stored in a Database.These
invoices are written in DM (Deutsche Mark). Now we want convert each report
to EURO. That means:
Load every report from Database, replace 'DM' (stored in TPPLabel-fields)
through 'EUR' and save changed reports back to database. This must happen in
background!!!
Any idea to realize that? What's the best or easiest way?
Best regards
Klaus
We are printing invoices via templates which are stored in a Database.These
invoices are written in DM (Deutsche Mark). Now we want convert each report
to EURO. That means:
Load every report from Database, replace 'DM' (stored in TPPLabel-fields)
through 'EUR' and save changed reports back to database. This must happen in
background!!!
Any idea to realize that? What's the best or easiest way?
Best regards
Klaus
This discussion has been closed.
Comments
dont change anything within the templates. Do everything at runtime.
After loading the template change within the before print event of the
detailband the content of the ppLabel to 'EUR'.
enjoy,
Ron.
I als had the same idea, but there is one problem! Our customers are allowed
to change the templates in the designer. And when loding the report they
would see 'DM' and when printing it suddenly changes to 'EUR'. So we decided
to change the reports in background from DM to EUR to avoid confusion by our
costumers.
Any other idea?
Thanks a lot
Klaus
then create a small program and distribute it as a EUR patch. Within it
load all templates, change the labels and write them back.
enjoy,
Ron.
thanks, that's exactly what I had in mind. I'm struggling with the "change
the labels "-thing.
Can you send me an example, a snip of code or something like that??
Thanks a lot
Klaus
sorry no code, as I am currently closing a telco project. Today I have
been reading the newsserver for the first time in five weeks.
Ron.