Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error opening a .DBF with VBA
Message
From
12/06/1998 10:24:29
 
 
To
12/06/1998 08:59:01
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00107548
Message ID:
00107591
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform