Results 1 to 2 of 2

Thread: Crystal Reports

  1. #1
    Guest

    Post

    Can U dynamically assign a database name in a single report file ? I have 2 databases of the same structure.Depending upon criteria I want to point to the table in different databses ..

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

    Post

    You can assign a new Database using the DataFiles Property of the Control, ie.

    CrystalReport1.DataFiles(0) = "C:\MyDir\MyOtherDB.mdb"

    ------------------
    Aaron Young
    Analyst Programmer
    aarony@redwingsoftware.com
    ajyoung@pressenter.com



    [This message has been edited by Aaron Young (edited 12-30-1999).]

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