Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error opening a .DBF with VBA
Message
De
12/06/1998 10:24:29
 
 
À
12/06/1998 08:59:01
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00107548
Message ID:
00107591
Vues:
13
>I'm trying to open a foxpro 2.6 .dbf but received the message number 3051 or MSACCESS crashs.
>
> The difference between that table and others it's the size, 108 MB
>
> Can you help me?
>
> The code I'm using it's here:
>
> Dim dbFox As Database
> Dim rsSaida As Recordset
> Set dbFox = OpenDatabase("S:\MYSYSTEM\DATABASE\", dbReadOnly, True, "FoxPro 2.6;")
> Set rsSaida = dbFox.OpenRecordset("ORDERS.dbf", dbOpenTable, dbReadOnly , dbReadOnly)
>
>
> Thank you

Hi Alexander,

If your foxpro table is on network drive, copy it on your local hard disk drive and try to open it again (maybe a network problem). What version of ACCESS does you use ?
Delete all temporary files (c:\temp) on your disk and check if you have enough hard disk space.
Try also with dbOpenDynaset or dbOpenSnapshot. If you have Vb, try to open it with the DATA CONTROL.

Pierre
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform