Results 1 to 2 of 2

Thread: Probably an easy crystal report question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Location
    Sydney,NSW,Australia
    Posts
    178

    Post

    Am using vb5 professional version with the version of crystal reports that ships with it. Have built a report with the database location of c:\data\sales. During run-time can l change the data location to something like \\mickey\data\sales? If so what do l set in vb code to do it

    Thanks in advance
    Jeff

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    I use Crystal Report 7 Pro, so I can't Garauntee this will work for you, but there may be a DataFiles Collection, set this to the New Database Location Before Displaying the Report, eg.

    CrystalReport1.DataFiles(0) = "Path to New DB Location"

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

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