Hi Eric
The report does have a private datasession to prevent side effects on data *and* I also call my environmental SETs program from the BEFOREOPENTABLES() event on the Dataenvironment of the report. I still get $ instead of £ for currency values and the debugger says that CURRENCY is set to $.
I have even tried calling the SETs program from the title band etc without success.
It is interesting if I set a breakpoint on SET('CURRENCY') It seems that VFP is altering SET CURRENCY at the VFP class level all over the place ie on every control.
Have you any suggestions on where I should call my SETs program from? On forms I use the LOAD() event where there is no dataenvironment and I use BEFOREOPENTABLES() event where there is a dataenvironment. On reports I use BEFOREOPENTABLES().
Regards, PeterR
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement