473,397 Members | 1,950 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,397 software developers and data experts.

Union query of Foxpro tables returns inconsistent results

Configuration:
Windows 2000 sp3
MS Access 2000 (9.0.4402 SR-1)
Visual Foxpro 9.0 detached tables
MS VFP Driver 6.01.6830.01 06/19/2003


For example, a simple query like:
select * from ddwg1
union all
select * from ddwg2


The query retreives a few thousand records but does not return the same result from one execution to the next.

If I first import the same tables then run the union query on the imported tables, results are ok.

I've tried on different tables with similar inconsistent results.

I've tried to reproduce the problem on a second computer with the following config:

Windows XP sp1
MS Access 2000 (same as above)
Visual Foxpro (same as above)
VFP ODBC driver 6.01.8629.01 12/7/1999
which I downloaded from Microsoft

The same setup produces the following message:
[Microsoft][Visual FoxPro Driver]Syntax error. (#200)

I saw somewhere on the internet that a hotfix existed for that problem but could not find it.

If anybody can help, it would be very appreciated.

Germain Catudal
Mar 29 '07 #1
1 4256
Configuration:
Windows 2000 sp3
MS Access 2000 (9.0.4402 SR-1)
Visual Foxpro 9.0 detached tables
MS VFP Driver 6.01.6830.01 06/19/2003


For example, a simple query like:
select * from ddwg1
union all
select * from ddwg2


The query retreives a few thousand records but does not return the same result from one execution to the next.

If I first import the same tables then run the union query on the imported tables, results are ok.

I've tried on different tables with similar inconsistent results.

I've tried to reproduce the problem on a second computer with the following config:

Windows XP sp1
MS Access 2000 (same as above)
Visual Foxpro (same as above)
VFP ODBC driver 6.01.8629.01 12/7/1999
which I downloaded from Microsoft

The same setup produces the following message:
[Microsoft][Visual FoxPro Driver]Syntax error. (#200)

I saw somewhere on the internet that a hotfix existed for that problem but could not find it.

If anybody can help, it would be very appreciated.

Germain Catudal
Additional Note:

I installed FoxPro on the XP machine and now it gives the same inconsistent results as the Win2K.

Germain Catudal
Mar 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Neculai Macarie | last post by:
Hi! Using Union and Order By gives strange behaviour in the following test-case: drop table if exists gallery; drop table if exists gallery_categ; # create test tables create table gallery...
3
by: Paradigm | last post by:
I am using Access 2K as a front end to a MYSQL database. I am trying to run a Union query on the MYSQL database. The query is (much simplified) SELECT as ID from faxdata UNION SELECT as ID ...
4
by: Elroyskimms | last post by:
Using SQL 2000... tblCustomer: CustomerID int CompanyName varchar(20) HasRetailStores bit HasWholesaleStores bit HasOtherStores bit tblInvoiceMessages:
2
by: Gerry | last post by:
I am relatively new to DB2 and having a problem with a simple union statement. Running Db2UDB version 8.1.1 on Aix 5.1 The union and union all SQL statements I am running produce the same...
14
by: Salad | last post by:
A97. Situation: I have 3 tables with a text field in each and a date field in the first 2 tables: Table1 Text1, Date1 Table2 Text2, Date2 Table3 Text3 (no date field) The following...
4
by: Missy | last post by:
We’ve recently upgraded our computer system to XP. My union query (which was working perfectly for years) now returns hieroglyphics instead of invoice numbers. When I run the 2 queries...
2
by: Lyn | last post by:
Hi, How do you bind the output columns from a UNION query when the fields from the two tables have different names? Consider this query (WHERE clauses omitted)... SELECT SurnameBirth,...
5
by: BillCo | last post by:
I'm having a problem with a union query, two simple queries joined with a union statement. It's created in code based on parameters. Users were noticing some inconsistant data and when I analysed...
7
by: KoliPoki | last post by:
Hello every body. I have a small issue. Problem: I have a table with 4 descriptor columns (type). I need to formulate a query to retrieve a count for each type so I can group by...etc. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.