index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Hide parameters :: (2)Post a New Message | Post a Reply
Feb 1 2008, 3:39 AM
 Hide parametersPost a Reply
 katjas

View this author's profile Send this author a private message

since: Jan 31, 2008
from: Cape Town, South Africa

Is it possible, when a report is being built from a stored procedure, to hide certain parameters from the user when these have been set in the code?

For example, a stored procedure has 5 parameters and I would like to be able to set default values for all of them, but only allow the user to see/edit the values in 2 of them (in the wizard pop up).  The other three should be hidden.

Feb 5 2008, 2:21 PM
 Re: Hide parametersPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

if you wanted the user to enter a parameter value, put a question sign (?) in front of the parameter as shown below:

objWiz.UseProcedures = "Procedure1,@Param1='?ParameterName1',@Param2='?ParameterName2'|Proc2,@P1=?MyOtherParamerterName'"





-------------------------
Ghost
Pages: (1)   [1]

search this forum: