473,394 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

If you have connected to FoxPro tables via ODBC, please read/help

I am having a problem with linking to FoxPro DOS tables in Access2000.
Simply opening the tables are EXTREMELY slow. Let me tell you how make
my connections to these tables. I could easily be doing something
wrong. I have a 2.6 gz machine, 1 gig memory, lots of disk space,
Access2000 has sp3 installed.

I get the ODBC administrator open. I click System DSN (or UserDSN if I
want to test it that way). I click Add. I then select the VFP driver
and click Finish. I enter Test for both Data Services name and
description. I select FreeTable, not DBC (VFP can be a DBC database
container or use dbf tables). I enter the path C:\Test as the path. I
click Options; machine collate. The Null, Deleted, and Fetch data in
background (defaults) are checked. I click Finish. This is real quick.

I have a customer table with 167 records. I open up Access2000, click
File/GetExternalData/Link, select ODBC, select Test dsn. After about 5
seconds (slow) the dbf tables in C:\Test appear. I select Customer.
After 5-10 seconds it presents me with a list of fields that make the
unique index key. I select CustomerID and OK. I now have a link.

When I click on the customer table and press Open in A2K it takes about
1 minutes 15 seconds to open it. It takes another 15 seconds after
presenting the records before Access gives me back the cursor. I have
AutoCorrect set off. Opening the Orderlog table, with 58K records,
takes about 2 minutes to display the records and about 30 seconds after
that it gives me back the cursor so I can scroll the records. It's like
the tables are 1 big calculated table.

I'm wondering at this point if I can even work on this application. On
my clients machine it is not as slow as mine. It takes about 1-3
seconds to open the customer file and maybe 5-10 to open the orderlog
file. His OS is Win98.

If I open up the customer table the primary key is type decimal. What I
find intriguing is that ALL text fields are set to Required = Yes, Allow
zero length = Yes. I have no idea why all fields are set to be required
as I'm sure some fields are blank.

I imported the data instead of linked to it and pulling up the records
is instantaneous....as expected. I'm pulling my hair out on this
on...what little hair I have. If I use A97 and the ISAM driver, pulling
up the tables is instantaneous.

Can you see anything that I am doing wrong? Any opinions?

Nov 13 '05 #1
2 2125
It could be your ODBC driver, check which version your friend is using
against yours.

--
Michael Hopwood
"Salad" <oi*@vinegar.com> wrote in message
news:K1******************@newsread2.news.pas.earth link.net...
I am having a problem with linking to FoxPro DOS tables in Access2000.
Simply opening the tables are EXTREMELY slow. Let me tell you how make
my connections to these tables. I could easily be doing something
wrong. I have a 2.6 gz machine, 1 gig memory, lots of disk space,
Access2000 has sp3 installed.

I get the ODBC administrator open. I click System DSN (or UserDSN if I
want to test it that way). I click Add. I then select the VFP driver
and click Finish. I enter Test for both Data Services name and
description. I select FreeTable, not DBC (VFP can be a DBC database
container or use dbf tables). I enter the path C:\Test as the path. I
click Options; machine collate. The Null, Deleted, and Fetch data in
background (defaults) are checked. I click Finish. This is real quick.

I have a customer table with 167 records. I open up Access2000, click
File/GetExternalData/Link, select ODBC, select Test dsn. After about 5
seconds (slow) the dbf tables in C:\Test appear. I select Customer.
After 5-10 seconds it presents me with a list of fields that make the
unique index key. I select CustomerID and OK. I now have a link.

When I click on the customer table and press Open in A2K it takes about
1 minutes 15 seconds to open it. It takes another 15 seconds after
presenting the records before Access gives me back the cursor. I have
AutoCorrect set off. Opening the Orderlog table, with 58K records,
takes about 2 minutes to display the records and about 30 seconds after
that it gives me back the cursor so I can scroll the records. It's like
the tables are 1 big calculated table.

I'm wondering at this point if I can even work on this application. On
my clients machine it is not as slow as mine. It takes about 1-3
seconds to open the customer file and maybe 5-10 to open the orderlog
file. His OS is Win98.

If I open up the customer table the primary key is type decimal. What I
find intriguing is that ALL text fields are set to Required = Yes, Allow
zero length = Yes. I have no idea why all fields are set to be required
as I'm sure some fields are blank.

I imported the data instead of linked to it and pulling up the records
is instantaneous....as expected. I'm pulling my hair out on this
on...what little hair I have. If I use A97 and the ISAM driver, pulling
up the tables is instantaneous.

Can you see anything that I am doing wrong? Any opinions?

Nov 13 '05 #2
Michael Hopwood wrote:
It could be your ODBC driver, check which version your friend is using
against yours.
Same drive as mine but with a different date. His is 9/21/1999, mine is
12/7/1999. I think I may ask him to buy A97 instead and forego the
newer MS bloatware.


--
Michael Hopwood
"Salad" <oi*@vinegar.com> wrote in message
news:K1******************@newsread2.news.pas.earth link.net...
I am having a problem with linking to FoxPro DOS tables in Access2000.
Simply opening the tables are EXTREMELY slow. Let me tell you how make
my connections to these tables. I could easily be doing something
wrong. I have a 2.6 gz machine, 1 gig memory, lots of disk space,
Access2000 has sp3 installed.

I get the ODBC administrator open. I click System DSN (or UserDSN if I
want to test it that way). I click Add. I then select the VFP driver
and click Finish. I enter Test for both Data Services name and
description. I select FreeTable, not DBC (VFP can be a DBC database
container or use dbf tables). I enter the path C:\Test as the path. I
click Options; machine collate. The Null, Deleted, and Fetch data in
background (defaults) are checked. I click Finish. This is real quick.

I have a customer table with 167 records. I open up Access2000, click
File/GetExternalData/Link, select ODBC, select Test dsn. After about 5
seconds (slow) the dbf tables in C:\Test appear. I select Customer.
After 5-10 seconds it presents me with a list of fields that make the
unique index key. I select CustomerID and OK. I now have a link.

When I click on the customer table and press Open in A2K it takes about
1 minutes 15 seconds to open it. It takes another 15 seconds after
presenting the records before Access gives me back the cursor. I have
AutoCorrect set off. Opening the Orderlog table, with 58K records,
takes about 2 minutes to display the records and about 30 seconds after
that it gives me back the cursor so I can scroll the records. It's like
the tables are 1 big calculated table.

I'm wondering at this point if I can even work on this application. On
my clients machine it is not as slow as mine. It takes about 1-3
seconds to open the customer file and maybe 5-10 to open the orderlog
file. His OS is Win98.

If I open up the customer table the primary key is type decimal. What I
find intriguing is that ALL text fields are set to Required = Yes, Allow
zero length = Yes. I have no idea why all fields are set to be required
as I'm sure some fields are blank.

I imported the data instead of linked to it and pulling up the records
is instantaneous....as expected. I'm pulling my hair out on this
on...what little hair I have. If I use A97 and the ISAM driver, pulling
up the tables is instantaneous.

Can you see anything that I am doing wrong? Any opinions?



Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: | last post by:
I am trying to Delete records from Fox Pro Free Tables (.DBF) using C#. I am able to insert and view data with no problems but when I try to delete - no luck. It appears that I need to run a...
2
by: Maverick | last post by:
If i try to create foxpro table by the following "sql" statment, the C# compiler will only return an error "xxxx not support in non-dbc version". The "index on" command statement return some kind...
3
by: Burak Gunay | last post by:
Hello, I am trying to connect to a visual fox pro table from my asp.net page. I dragged an odbc connection and set it to a visual fox pro driver file dsn pointing to "mydocuments" folder. ...
3
by: HistoricVFP | last post by:
Hello, I’ve been given the task of importing .dbf files from a very old version of Visual FoxPro (version 2.1) into Access (2003). When I import the data straight to Access it errors with: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.