Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify Report doesn't wait even without nowait
Message
From
04/05/1999 21:10:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Modify Report doesn't wait even without nowait
Miscellaneous
Thread ID:
00215208
Message ID:
00215208
Views:
57
I have a place in an exe where I am using modify report, but sometimes, the window appears behind the VFP desktop. I have not been able to completely narrow down the sequence of events that cause it.

Normally, when everything works right, MODIFY REPORT &cFile will open the report designer, bring it to the front, and halt processing of the procedure until the user closes the report designer or at least makes it lose focus. Essentially a modal form.

Unfortunately, sometimes (and again, I haven't been able to narrow it down much), the MODIFY REPORT command will open the report designer, but place it behind the VFP desktop. Since it doesn't have focus, processing continues, which causes me problems. Interestingly enough, it even does this if I use the IN MACDESKTOP clause. I have also tried placing it in a window and many other things, although I welcome any ideas.

Therefore I need to do one of two things:

Find a way to make the MODIFY REPORT always be modal.
or
Use the nowait clause of the MODIFY REPORT command and pause processing until the report designer is closed.

I've been racking my brain and trying all kinds of stuff for both of these, but I haven't had any luck.

Thanks in Advance,
Brad Karsjens
Reply
Map
View

Click here to load this message in the networking platform