I'm having a problem opening a report from VB:
Due to constraints here, I have to use CRW v6; I'm using the Crystal Report Control component; the report opens and displays the requested data with no problem.
The report's destination is crptToWindow.
What I need is to be able to display the report, and trap the printer output. (If the user selects a fax printer, I need to send some addressing info via DDE; the user is also allowed to print to a local printer.)
The problem is that as soon as the report displays, control returns to the program.
So far, I haven't been able to figure out how to open this thing in "Mode 1". I thought that the .Action property might be it, but apparently it's not. (Crystal's Developer Help doesn't bother to list the possible values for .Action, but I've found that the values 0-3 make no difference.)
Then I tried the .Status property: it's always 3!! (I assume this is because the report's destination is "window", and it's being displayed.)
Please!! Can anyone tell me what I'm missing here?
Due to constraints here, I have to use CRW v6; I'm using the Crystal Report Control component; the report opens and displays the requested data with no problem.
The report's destination is crptToWindow.
What I need is to be able to display the report, and trap the printer output. (If the user selects a fax printer, I need to send some addressing info via DDE; the user is also allowed to print to a local printer.)
The problem is that as soon as the report displays, control returns to the program.
So far, I haven't been able to figure out how to open this thing in "Mode 1". I thought that the .Action property might be it, but apparently it's not. (Crystal's Developer Help doesn't bother to list the possible values for .Action, but I've found that the values 0-3 make no difference.)
Then I tried the .Status property: it's always 3!! (I assume this is because the report's destination is "window", and it's being displayed.)
Please!! Can anyone tell me what I'm missing here?