CR/Datasets parameters use please help.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When useing a Crystal Report (CR) bound to a dataset.xsd, the paramenter do not show up in the CR Field Exploere.

Yes I can access them via my VB.Net code, but I am unable to access them and their values from within my CR document formula code

Is there a way to access these paramenters from within my CR document Formulas

Thank
Bria
P.S. I am able to do this with an ADO connection to a SQL SP, but I have a need to use the Dataset.XSD file
 
Hi Brian, where are your parameters defined? They should be defined within
your report, then once you load your report template into a report document
you'll have access to them by name (or index) like so...

myRptDocument.DataDefinition.ParameterFields("myParamterFieldName")
(typed from memory...)

since parameter fields are defined in the report itself, you should
definitely have access to them in your report formulas. Look under the
report fields tree node in the formula's editor.

unless i'm misunderstanding your situation...

hope this helps,

jim

Brian said:
When useing a Crystal Report (CR) bound to a dataset.xsd, the paramenter
do not show up in the CR Field Exploere.
Yes I can access them via my VB.Net code, but I am unable to access them
and their values from within my CR document formula code.
Is there a way to access these paramenters from within my CR document Formulas?

Thanks
Brian
P.S. I am able to do this with an ADO connection to a SQL SP, but I have a
need to use the Dataset.XSD file.
 
Back
Top