Results 1 to 2 of 2

Thread: Passing Variables to Crystal Report at Run time

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2000
    Location
    Lagos, Nigeria
    Posts
    50

    Cool Passing Variables to Crystal Report at Run time

    I'm running Crystal Report. I want to pass some variables to it at run time, like date between certain period. I mean I want Crystal Report to prompt me for the variable. How can I do this? I'm using version 8.5

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    In Crystal, you setup/create a Parameter Field. Use the Insert -> Field Object menu command. In the Field Explorer dialog, click on the Parameter Fields item and click the New button.

    You can then use parameter fields whereever you need them in your report, for example the record selection formula.

    When you run the report from within VB, Crystal will automatically prompt for the parameter(s) using its default dialog box.

Posting Permissions

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



Click Here to Expand Forum to Full Width