Within my efforts trying to move to .NET using a DataSource, I was looking for a need to query the selected output before retrieving the data. I have seem to come a long way in achieving this. Using QueryFileNameForExportJob this for List type projects, but unfortunately not for Label type projects.
I noticed that the order in which events are executed is different for LIST type projects and LABEL type projects. (I haven’t looked into CARD projects). In my application I am getting the data in to a temp-table. For that reason I am overriding GetData in the OpenEdge dataprovider with my own GetDataEvent .
I am also using QueryFileNameForExportJob as I want to ask the user for an output destination before getting the data. For LIST projects this works fine:
- PrinterDialog shows
-
QueryFileNameForExportJobevent is triggered -
GetDataEventis triggered to retrieve the data.
However, for LABEL projects, the order is
-
GetDataEventis triggered to retrieve the data (so before the user can select an output destination) - PrinterDialog shows
-
QueryFileNameForExportJobevent is triggered
Is there any way to influence this? Is this sequence of events dictated by List&Label or is this implemented in the OpenEdge data provider?
Thanks.
. If you’re working with the Enterprise Edition (which I seem to recall), you’ll be able to get your hands on LL25 in about one month once we start the public beta program. I hope this time frame is sufficient for your needs.