Changing database location at run time 
Author Message
 Changing database location at run time

Hi,
     Is there a way to change a database's ( I am using Access MDB) location
at  runtime  using VB6?

Thanks in advance



Fri, 25 Apr 2003 03:00:00 GMT  
 Changing database location at run time

Hi Jason,

If you are using crystl32.ocx, you can try :

report1.datafiles(0)=mydb.name

where "mydb" is the database object.

Julio, from S?o Paulo, Brazil



Quote:
> Hi,
>      Is there a way to change a database's ( I am using Access MDB)
location
> at  runtime  using VB6?

> Thanks in advance



Fri, 25 Apr 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to change Database location at run time

2. Changing database location at run-time

3. Change Database Location at run-time

4. Changing Database\Table locations at run-time from VB6

5. Run Time Change of DB Location, Setting Passwords, and Rpt Location

6. ADO Data Control - Design Time/Run Time database locations

7. CR9 does not change table location at run time

8. Changing Access mdb location in run time

9. Change TTX location at Run-Time - Please Help....

10. Setting a database location at run time?

11. Crystal Report -- set location of database at run time

12. Changing Active database in DataEnvironment at run time?

 

 
Powered by phpBB® Forum Software