a. My command line contains the parameters used on a URL, e.g.
?p1=123?p2=234.
b. Yes, I have created my custom data processing extension and it works
fine when accessed via URL and when you input the parameters at the prompts
in the preview mode of ReportDesigner.
If I can detect when the report is being run from the preview tab, I can
supply the parameters so they don't have to be input at the prompt.
[quoted text, click to view] "Smith" <smithj@online.nospam> wrote in message
news:uNUxS$fsFHA.4072@TK2MSFTNGP09.phx.gbl...
> Could you elaborate what you are doing?
> a. what's your command line look like?
> b. did you create your custom data processing extension?
>
> "Tom Bean" <tbean@newsgroup.nospam> wrote in message
> news:%23S4u$I8rFHA.1256@TK2MSFTNGP09.phx.gbl...
>> The parameters passed on the command line are not used the report is
>> previewed in ReportDesigner, so I would like to add some code to my Data
>> Processing Extension to initialize the parameters from the command line
>> when in preview mode.
>>
>> Tom
>>
>> "Smith" <smithj@online.nospam> wrote in message
>> news:eO4Beo6rFHA.3080@TK2MSFTNGP15.phx.gbl...
>>> Would you mind telling me why you wanted that?
>>>
>>> "Tom Bean" <tbean@newsgroup.nospam> wrote in message
>>> news:etRz9NyrFHA.1168@TK2MSFTNGP11.phx.gbl...
>>>> Is there any way for a Data Processing Extension to determine if it is
>>>> being called by ReportDesigner in Preview mode (like "#if DEBUG" or
>>>> 'DesignMode' in a .NET Windows Application)?
>>>>
>>>> In particular, I want to determine if the call comes from the Preview
>>>> tab of ReportDesigner.
>>>>
>>>> Thanks,
>>>> Tom
>>>>
>>>>
>>>
>>>
>>
>>
>
>