General information
Category:
Reports & Report designer
Title:
Modify Report doesn't wait even without nowait
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only