Waler Runtime device assignment
Hi,
I am wrapping some of the export routines myself so that users have a
one-button click to export a pre-defined formt to a pre-dfined file name. I
have tried assigning ppReport1.DeviceType to the appropriate export type but
it is not working. Some examples:
etText: ppReport1.DeviceType := dtTextFile;
etPDF: ppReport1.DeviceType := 'edfPDF';
etExcel: ppReport1.DeviceType := 'edfXLS';
etWord: ppReport1.DeviceType := 'edfRTF';
etHTML: ppReport1.DeviceType := 'edfHTML';
The first non-Waler export 'dtTextFile' is fine, however when I assign any
of the Waler ones and step through code, the DeviceType still shows as
dtScreen. Am I not assigning device type correctly? The definitions of
these I obtained from the txRB.pas file.
I am using RB V7 and ExtraDevices V3
Thanks
Alex
I am wrapping some of the export routines myself so that users have a
one-button click to export a pre-defined formt to a pre-dfined file name. I
have tried assigning ppReport1.DeviceType to the appropriate export type but
it is not working. Some examples:
etText: ppReport1.DeviceType := dtTextFile;
etPDF: ppReport1.DeviceType := 'edfPDF';
etExcel: ppReport1.DeviceType := 'edfXLS';
etWord: ppReport1.DeviceType := 'edfRTF';
etHTML: ppReport1.DeviceType := 'edfHTML';
The first non-Waler export 'dtTextFile' is fine, however when I assign any
of the Waler ones and step through code, the DeviceType still shows as
dtScreen. Am I not assigning device type correctly? The definitions of
these I obtained from the txRB.pas file.
I am using RB V7 and ExtraDevices V3
Thanks
Alex
This discussion has been closed.
Comments
Thanks
Alex