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
separately (of which the Union query is made up of) they return
numbers perfectly. Can you please help?
The Union Query looks like this:
SELECT * FROM [Query1] UNION SELECT * FROM [Query2];
Any help will be greatly appreciated. 4 1929
Union queries only work right if the columns are in exactly the same order in
both queries. Change one, and not the other, and you have a mess. That's
probably what it is.
Alternatively, you could simply have a corrupted database. Try repair and
compact.
On 25 May 2004 14:37:07 -0700, zh****@hotmail. com (Missy) wrote: We’ve recently upgraded our computer system to XP. My union query (which was working perfectly for years) now returns hieroglyphic s instead of invoice numbers. When I run the 2 queries separately (of which the Union query is made up of) they return numbers perfectly. Can you please help?
The Union Query looks like this:
SELECT * FROM [Query1] UNION SELECT * FROM [Query2];
Any help will be greatly appreciated.
Missy, We’ve recently upgraded our computer system to XP. My union query (which was working perfectly for years) now returns hieroglyphic s instead of invoice numbers. When I run the 2 queries separately (of which the Union query is made up of) they return numbers perfectly. Can you please help?
The Union Query looks like this:
SELECT * FROM [Query1] UNION SELECT * FROM [Query2];
Any help will be greatly appreciated.
Maybe a corrupt database.
Eventually - if you have linked the tables from a backend database to
a frontend database - you have to reestablish the link. Just delete it
an link the tables once more.
Regards
Thilo Immel
Access Repair Service www.atroplan.de
Freeware: Access Memory Reporter 1.0, shows the amount of memory used
by tables and indexes.
Steve Jorgensen <no****@nospam. nospam> wrote in message news:<k9******* *************** **********@4ax. com>... Union queries only work right if the columns are in exactly the same order in both queries. Change one, and not the other, and you have a mess. That's probably what it is.
Alternatively, you could simply have a corrupted database. Try repair and compact.
On 25 May 2004 14:37:07 -0700, zh****@hotmail. com (Missy) wrote:
We’ve recently upgraded our computer system to XP. My union query (which was working perfectly for years) now returns hieroglyphic s instead of invoice numbers. When I run the 2 queries separately (of which the Union query is made up of) they return numbers perfectly. Can you please help?
The Union Query looks like this:
SELECT * FROM [Query1] UNION SELECT * FROM [Query2];
Any help will be greatly appreciated.
Thank you Steve for your feedback.
I compacted and repaired the database which still didn't fix the
problem. However on very close investigation - I noticed that for
some unknown reason 2 of the fields were renaming themselves. So I
started from scratch and relinked the tables. Which now seems to
work.
Once Again Thank you kindly
Thilo Immel <Ac******@web.d e> wrote in message news:<4e******* *************** **********@4ax. com>... Missy,
We’ve recently upgraded our computer system to XP. My union query (which was working perfectly for years) now returns hieroglyphic s instead of invoice numbers. When I run the 2 queries separately (of which the Union query is made up of) they return numbers perfectly. Can you please help?
The Union Query looks like this:
SELECT * FROM [Query1] UNION SELECT * FROM [Query2];
Any help will be greatly appreciated.
Maybe a corrupt database.
Eventually - if you have linked the tables from a backend database to a frontend database - you have to reestablish the link. Just delete it an link the tables once more.
Regards Thilo Immel Access Repair Service www.atroplan.de Freeware: Access Memory Reporter 1.0, shows the amount of memory used by tables and indexes.
Thank you Thilo for your feedback.
I compacted and repaired the database which still didn't fix the
problem. However on very close investigation - I noticed that for
some unknown reason 2 of the fields were renaming themselves. So I
started from scratch and relinked the tables. Which now seems to
work.
Once Again Thank you kindly This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Edward |
last post by:
I am having conceptual trouble with the following query:
select r.ServiceID,r.ContractID,sum(Total)
from (
select
csc.ServiceID,c.ContractID, sum(csc.ContainerMovement) as Total
from
iwms_tbl_CustomerSiteContainers csc,
iwms_tbl_ContractLines cl,
iwms_tbl_Contracts c,
|
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 from letdata UNION
SELECT as ID FROM MEMODATA;
I get an ODBC error. The same query runs when the backend files are MDB
files and it runs with...
|
by: Matias Silva |
last post by:
Hi Everyone, I wrote a for loop to build several select
statements that are combined with a UNION. When I execute
one of the queries separately, it works, but when I execute
the query with a UNION it returns:
ERROR 2013 (HY000): Lost connection to MySQL server during query
I am able to run additional queries after I get the error, so
the...
|
by: Jeff Blee |
last post by:
I hope someone can help me get this graph outputing in proper order.
After help from Tom, I got a graph to display output from the previous
12 months and include the average of that output all in the one graph.
The output was in the order of the months, but after unioning with the
averages SQL code, the order is lost. Below is the full sql...
|
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 makes up a saved query called Query1
| |
by: turtle |
last post by:
I need to make a union query that returns the results of 2 queries
without combining any fields.
Let me give you an example
Query1
Job WorkOrder Sequence Budget Actuals Employee_Category
1 A000 1000 10 0 Electrical Eng.
Query2
Job WorkOrder Sequence Budget Actuals Employee_Category
|
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 the query produced
and opened it from a MS Query it started giving strange results.
The first query when run alone returns 22 records, some of...
|
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 view I have works, but doesn't work when I supplement the
query with some functions... they just don't like the UNION. The real
problem is I can't...
|
by: Hamayun Khan |
last post by:
Hi All
I am using the following query to select records from two tables.
Select JobTitle,JobDesc,Scraped,logoimage,JobPostID,SchoolID,web,MemType,InstitutionName,PayScale,LEA,Contract as ContractType,HoursAbl,StartDate,ClosingDate,asap from tblJobScrap
Union ( SELECT...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |