>=20
>=20
> I have a report that will be launch for each record selected by user. T=
hey can select 1 or many record. I want that the user select the output p=
rinter. This can be done with REPORT FORM SOSOSO TO PRINTER PROMPT but I =
don't want that the user have to select printer for each report. I try to=
change the default printer in windows and it works to print anything exc=
ept the report. I also try SET PRINTER TO (GETPRINTER()). It also work ex=
cept for report. Sys(1037) does the same thing.
>=20
> Anywone have idea!
Michel,
Your problem might be caused by the fact that your reports keep the
printer for which you developed the report at design time in the first
place. You can erase this setting by hacking the report file: erasing
the expr, tag and tag2 fields of the fisrt record of the frx file.
See also the very appropriately called 'indian trick' by Tom in the VFUG
tricks and techniques section.
HTH,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.