Results 1 to 12 of 12

Thread: [RESOLVED] Changing Datasource in VB6 using Crystal

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Location
    Marion, IN
    Posts
    14

    Resolved [RESOLVED] Changing Datasource in VB6 using Crystal

    I am trying to change the datasource for a crystal report in VB6 and it still looks at the report datasource when it was built. I am trying to use the code

    report.database.setdatasource e:\ware.mdb,3,1

    It is still trying to find it in the old location when the report was built.

    e:\ware\ware.mdb

    I am trying to change this on the fly so that I can place the database anywhere and just change the location in an INI file which the VB program reads on startup.

    Thanks.
    Last edited by randy1227; Oct 27th, 2005 at 11:07 AM.
    Randy1227

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