VB3 problems opening Access 1.1 database 
Author Message
 VB3 problems opening Access 1.1 database

I have a VB3 application that speaks to an Access 1.1 database. If a users
machine
crashes it can sometimes cause the application to fail to open the Access
database.
(I worked perfectly well before the crash)
It will fail even after complete  re-install of the application.

Any suggestions please.

Walter Scott

Walter Scott
________________________________________________________________
Process and Quality
NCR (Scotland) Ltd
Kingsway West
Dundee DD2 3XX
Phone (44) 01382 592091
Fax   (44) 01382 622243
VOICEplus 6 341 2091

_______________________________________________________



Sun, 24 Jan 1999 03:00:00 GMT  
 VB3 problems opening Access 1.1 database

With VB3 and Access 1.1 databases, always use transactions where applicable
and use the freelocks method a lot!

Peter Larsson



Sun, 24 Jan 1999 03:00:00 GMT  
 VB3 problems opening Access 1.1 database


 on Wed, 7 Aug 1996 08:56:18 GMT,
 Walter Scott <Walter> writes:

Quote:

>I have a VB3 application that speaks to an Access 1.1 database. If a users
>machine
>crashes it can sometimes cause the application to fail to open the Access
>database.
>(I worked perfectly well before the crash)
>It will fail even after complete  re-install of the application.

>Any suggestions please.

>Walter Scott
>_______________________________________________________

This problems appear when program crashes and leaves the DB corrupted.
As you have seen, Access is a 'delicate' database type. When you have this
kind of problem, you have to repair the database and compact it. If your
users have Access 1.1 installed, tell them to use it to repair AND compact
the database. If they haven't...hmmm... what I should do is:
- Try to open the database at the beginning of your app. If it returns an
  error, that means that it's probably corrupted, and you may use
  RepairDatabase and CompactDatabase from your application.
- But you could open the database without errors and that _wouldn't_ mean
  it's free of them A suggestion is that periodically (that is, once a
  week or once a day, or...) checking the date at the start of your app, you
  could do a Repair and a Compact, even if the DB is OK...

Hope this helps,
Fernando.



Mon, 25 Jan 1999 03:00:00 GMT  
 VB3 problems opening Access 1.1 database

Try repairing and compacting the database this should work



Wed, 27 Jan 1999 03:00:00 GMT  
 VB3 problems opening Access 1.1 database

Try to repair the database not re-installing access or the application



Wed, 27 Jan 1999 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. VB3/4 Problem Accessing Access 1.1, Read Only In WIN95

2. VB3, Access 1.1 multi user access

3. Help - Access database migration 1.1 --> 3.5 problems

4. Crystal 1.0 database error when connecting to Access 1.1 database

5. Using SQL To access Access 1.1 Database in VB

6. Can VB5 read/convert VB3 Access 1.1?

7. Application migration VB3 to VB6 - VBX, API, Access 1.1

8. Application migration VB3 to VB6 - VBX, API, Access 1.1

9. Application migration VB3 to VB6 - VBX, API, Access 1.1

10. VB3.0, Access 1.1, Compatibility Layer, Compact Statement

11. Application migration VB3 to VB6 - VBX, API, Access 1.1

12. App tries to open DB as MS Access 1.1 fmt instead of 2.0

 

 
Powered by phpBB® Forum Software