Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compacting and repairing
Message
 
To
19/10/2001 10:59:16
General information
Forum:
Visual Basic
Category:
Access
Miscellaneous
Thread ID:
00570869
Message ID:
00571032
Views:
28
This message has been marked as the solution to the initial question of the thread.
>The following code is returning the error: Cannot perform this operation; features in this version are not available in databases with older formats.
>This is being performed on an Access2k database using Microsoft Jet and Replication Objects 2.1 library.
>
>
>
>Private Sub Command1_Click()
>Dim jro As jro.JetEngine
>Set jro = New jro.JetEngine
>jro.CompactDatabase "Provider =Microsoft.Jet.OLEDB.4.0;Data Source = C:\SMDR1.mdb", _
>"Provider = Microsoft.Jet.OLEDB.4.0;Data Source=C:\CompactSMDR1.mdb;Jet OLEDB:Engine Type=4"
>End Sub


Use "Jet OLEDB:Engine Type=5" .
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform