I may have narrowed my problem down to this. I always try to make my code useful. For instance, when preparing to print reports I have a form that enables you to select the report you want by moving it from one edit box to the "to be Printed" side. Okay, that has always worked before for me. But now it seems when that mover box creates the report command, and extra carriage return is some how entered into the character string.
m.lcReport = "Report Form " + lcChosenReport + " Preview"
The report name is held in a memo field and when needed/selected, it is stored in the mv lcChosenReport.
When I use the macro expansion to execute this concatenated string, the "preview" text appears on a second line causing the report to mishandle my desired output.
If I explicitly issue the command with hard coding, it works as expected.
I have tried to strip the chr(13) from the mv lcChosenReport before concatenating, but the "preview" option still appears on line 2.
This issue just came up to rear its ugly head, so I must have changed (hosed) something in my environment?
Thanks,
Gary De Lecce
Driving toward a Tactical Edge