Data Control has mind of its own 
Author Message
 Data Control has mind of its own

Using VB6, we have an application that used a Data Control to connect
to an Access database. The Database Name and RecordSource are set at
run time. The DatabaseName is set using a const, "T:\Share\OurDB.mdb".
All works well. We were asked to move the database to the U: drive. So,
it seemed simple enough to change the const to "U:\Share\OurDB.mdb".
Not so! Of three recordsets defined, one of them still is looking to
the T: drive for the database and the program aborts.
Has anyone seen this? It's like the data control has taken on a life of
its own.
HOP

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 20 Aug 2002 03:00:00 GMT  
 Data Control has mind of its own

Do a search throughout the project for your old path and make sure that is
removed everywhere.
Check your command line in project properties.
If you are using a shortcut to start your app, make sure that the old path
is not in the shortcut

Val

Quote:

> Using VB6, we have an application that used a Data Control to connect
> to an Access database. The Database Name and RecordSource are set at
> run time. The DatabaseName is set using a const, "T:\Share\OurDB.mdb".
> All works well. We were asked to move the database to the U: drive. So,
> it seemed simple enough to change the const to "U:\Share\OurDB.mdb".
> Not so! Of three recordsets defined, one of them still is looking to
> the T: drive for the database and the program aborts.
> Has anyone seen this? It's like the data control has taken on a life of
> its own.
> HOP

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Tab controls with a mind of its own

2. IE won't mind its own business debugging activex control

3. unloading form with mind of its own?

4. Screen has a mind of its own - HELP

5. Data minding tree view control?

6. Data minding tree view control?

7. Mind.VB initial translation/port of Mind.Forth PD AI

8. Please help! Having trouble with data control

9. Anybody created his/hers own data control?

10. Writing my own 'data control'

11. Writing my own Data control.

12. Creating your own data control in VB5

 

 
Powered by phpBB® Forum Software