?
Solved

Hidding/Suppress parameter field in report

Posted on 2003-03-17
9
Medium Priority
?
233 Views
Last Modified: 2012-05-04
i have an application develop using VB6 & crystal report active designer. i have set some parameter in the report using the approach as below:

                '********************
                'Set report parameter
                '********************
                Dim CRXParamDefs As CRAXDRT.ParameterFieldDefinitions
                Dim CRXParamDef As CRAXDRT.ParameterFieldDefinition
               
                Set CRXParamDefs = RptInvT.ParameterFields

                    For Each CRXParamDef In CRXParamDefs
                       
                        With CRXParamDef
                            Select Case .ParameterFieldName
       
                                Case "paramAdd1"
                                .SetCurrentValue pAdd1
           
                                Case "paramAdd2"
                                .SetCurrentValue pAdd2
                               
                                Case "paramAdd3"
                                .SetCurrentValue pAdd3
           
                                Case "paramAdd4"
                                .SetCurrentValue pAdd4
                           
                                Case "paramInstr1"
                                .SetCurrentValue pInstr1
           
                                Case "paramInstr2"
                                .SetCurrentValue pInstr2
                               
                                Case "paramInstr3"
                                .SetCurrentValue pInstr3
           
                                Case "paramInstr4"
                                .SetCurrentValue pInstr4
                                 
                            End Select
                       
                        End With
                    Next
                '************************
                'End Set report parameter
                '************************

now i wish to know how can i hidding the parameter field as i needed using coding?
0
Comment
Question by:tayleeming
  • 4
  • 3
7 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 8156893
What do youmewan hide the parameter field?

mlmcc
0
 

Author Comment

by:tayleeming
ID: 8157017
due to some reason i need to accessing the suppress property of the parameter field and make it not visible to the user..that's what i mean to hide it..
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8158315
Do you mean on the report?  Parameters don't have to appear on the report.

If you have put the on the report you should be able to FORMAT the field where suppress is an option.

Are you referring to in the VB program?  If so what value will you pass for a suppressed parameter?

mlmcc
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:tayleeming
ID: 8163267
that is what i want to know, how can i suppress the parameter during run-time using VB program....can anyone help me about this?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8163384
I am still not clear where you want to suppress the parameters.

Do you mean you don't want to have to pass the parameter?

mlmcc
0
 

Author Comment

by:tayleeming
ID: 8163621
i still pass the parameter to the report, is just i want to hide it and display other info(non parameter) on the same location on the report according to the user selection, i do hope u can get the picture now
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 600 total points
ID: 8163747
If it is on the report
Open the report
select the field
click FORMAT --> FORMAT FIELD
CLick suppress

mlmcc
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question