Results 1 to 2 of 2

Thread: Setting databaselocation at runtime?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 1999
    Location
    -
    Posts
    10
    We are using Crystal Reports 6 and we want to set the databaselocation at runtime, since we don't know the (network-)path of the mdb-file. Or maybe we can refer to a Datacontrol.. Does anyone know how to do this?

  2. #2
    New Member
    Join Date
    Feb 2000
    Posts
    4

    Database location

    u can change the db location at run time...

    just set the databtase using the following line of code

    cryrep.databases(0) = "\\unc\dblocation\access.mdb"

    This used to work fine in CryRep 4.2. It should continue to work.

    Hope this helps ...

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