Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    1

    Unanswered: Passign paramters to Crystall in stand alone mode

    Guys,

    I wanted to pass date range paramter values at run time, these are stand alone reports and executed from central server. I'm new to crystall, any help is appreciated.


    Crystall 9.0

    Thanks..

    mchenga...

  2. #2
    Join Date
    Aug 2004
    Posts
    15
    Hi Mchenga,

    The only way I know of doing this is using VB to pass the parameter as below:

    Report.ParameterFields(1).AddCurrentValue (Command)

    Don't know if this is any help but since you hadn't had any replies I thought I would suggest it.

    Nomis

  3. #3
    Join Date
    Jan 2005
    Posts
    3

    parameter error

    I having the same problem
    Here part of my script:

    With Report
    .ParameterFields(1).SetCurrentValue Val(Text1.Text)
    .ParameterFields(2).SetCurrentValue Val(Text2.Text)
    .ParameterFields(3).SetCurrentValue Val(Text3.Text)
    .EnableParameterPrompting = False
    .Database.SetDataSource rstemp
    .Database.Verify

    The problem is when the app. gets to parameterfields, it gives an error 9 subscript out of range

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •