General information
Category:
Third party products
Try the .AddCurrentValue("01"). That's what I did and it doesn't prompt me. This parameter field is used in the record selection in my case, to display the report only for the value passed. Using the AddCurrentValue method to set my value, the report runs and displays nothing other than the report for the value passed. I'm guessing that it might not be accepting your default value, so when the SetCurrentValue is executed it has nothing to use and so activates the prompt. Try the AddCurrentValue, I think it will do what you need, and replace both of those lines with one.
Randy
>Hi Randy,
>
>I have gotten it to work somewhat.
>
>loCrRpt.ParameterFields.Item(1).SetDefaultValue("01")
>
>Sets the value. However When I issue a
>loCrRpt.ParameterFields.Item(1).SetCurrentValue([TRUE])
>
>This according to the Developers help is supposed to keep the Parameter Value Window from Popping up and it doesnt. Any Idea how to stop that?
>Other than using the EnableParameterPrompting value. If I set that to .F. then I don't get any data even though I set the default value to "01"
>
>Ron
Previous
Next
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