Results 1 to 2 of 2

Thread: How to use Dynamic Path for crystal reports?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Location
    Syria, country of peace
    Posts
    65

    How to use Dynamic Path for crystal reports?

    Hello,

    I'm trying to design a desktop-application

    which supports crystal reports.

    but I also have to provide a dynamic path for the

    reports(I use CR v10), I mean, I want to put the

    reports in a folder called (Reports) for example and want

    this folder to be in the application path.

    but crystal reports claims me to write a frank static path

    for the reports.

    Help, please.

  2. #2
    New Member
    Join Date
    Sep 2007
    Posts
    4

    Re: How to use Dynamic Path for crystal reports?

    You can do that. It is very easy.

    If you are using VB 2005, the following method returns a string containing the path the application starts at, regardless of where the application is located:
    Code:
    Application.StartupPath
    Now, check THIS LINK and carefully follow the instructions.

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