Hello All,
v5.0a ...... My app has a top level form ... _screen is off. I call report previews more or less along the line of:
_SCREEN.WindowState = 2
_SCREEN.visible = .T.
set classlib to MyClass
loForm = create("MyPreviewForm") &&set to show in screen
Report Form Myreport preview ...
release loForm
_SCREEN.visible = .F.
this works fine on all my reports except one. On that report, two weird things happen.
1) It works fine the first time I preview the report - subsequent times, it seems to skip right through the code and the report, screen, or form never show up. Adding the line _SCREEN.SHOW() right after _SCREEN.visible = .T. fixes this, but I don't understand the behavior, especially why it isn't needed on the other reports.
2) On this report - the preview comes up with no margins (the grey area around the report) displayed. Scrolling usually makes the margins appear, although sometimes - they partially appear until you scroll around a bit. Again - only this report has this problem.
Any ideas - #1 I've "fixed" but would like to know what is going on. #2, I need HELP with!!!
thanks,
Ken
Ken B. Matson
GCom2 Solutions