Hi,
Here is my code for the Union query "Table [Mytable1]
union Table [Mytable2] union Table [Mytable3];"
The tables are actually queries themselves.
I made a form for the query, but when I try to update the form, I get a
message that says "This recordset is not updatable." Can I somehow make it
updatable?
Thanks
P.S. Using access 2000. 2 2492
Enterprise wrote: Hi, Here is my code for the Union query "Table [Mytable1] union Table [Mytable2] union Table [Mytable3];" The tables are actually queries themselves. I made a form for the query, but when I try to update the form, I get a message that says "This recordset is not updatable." Can I somehow make it updatable?
Er, no. Imagine you're the database engine and get a new record. How do
you know which table to put it in?
--
Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
On Thu, 25 Nov 2004 20:26:19 GMT, "Enterprise " <so*****@micros oft.com>
wrote:
No. Union queries are never updatable.
Next best thing may be to update yourself, which means you need to
know which table a particular record came from. This is a handy way to
do that:
select "table1" as TableFrom, * from table1
union
select "table2" as TableFrom, * from table2
-Tom. Hi, Here is my code for the Union query "Table [Mytable1] union Table [Mytable2] union Table [Mytable3];" The tables are actually queries themselves. I made a form for the query, but when I try to update the form, I get a message that says "This recordset is not updatable." Can I somehow make it updatable?
Thanks P.S. Using access 2000. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 MYSQL if I only combine 2 tables.
|
by: John Baker |
last post by:
Hi:
I have two tables, a setup table (TblSetup) and a purchase order table (tblPO).
When i construct a query with ONLY the tblPO shown, and a type in parameter for the PO
number, I an update the original tblPO. However, when I introduce the setup file into the
query I cannot update the result. THis is true if I make a link to Setup or not. In fact,
setup contains the client ID, which i wish to test against the client ID in the PO...
|
by: John Baker |
last post by:
Hi:
Most of the time when I do a query and it has no matches, there is a single blank line in
the result that I can test. I have one query where no result produces a response with NO
lines at all in it. How do I test this kind of query result to determine that there is no
information in it. I am using macros, and on other blank queries I have been checking a
field that will always been filled in and seeing it if isnull.
This query...
|
by: Mario Zoratti |
last post by:
Hello, everybody,
Please be so kind to explain how it is possible to make a query pass
through in Access 97 vs SQL server updatable. The query is "SELECT
CDC. * FROM CDC": it is very simple and there is no join with other
tables.
The same table linked directly to SQL server is updatable, while the
query isn't.
Thanks very much
Mario.
|
by: GD |
last post by:
tblFoo
FooId Name Number
1 One 1
2 Two 2
3 Three 3
The Following query produces the results I want, but it is not
updatable. I need at least the "Number" field to be updatable.
| |
by: adolph |
last post by:
I created 2 tables, each with an autonumber primary key. Fields are:
ID (autonumber Primary key)
Number (single)
Color (Text)
FName (text)in one table and LName (text)in the other
What I'm trying to do is make a select query with not one but two
fields in the join, that will allow me to update the LName field . IE
SELECT FirstName.FName, LastName.LName, FirstName.ID, FirstName.Number,
|
by: CC |
last post by:
Dear all,
Following Many-to-Many table structure is part of my database
-----------------------------------
TbGeneral (dossier information)
PK: dsr_id
TbDossierSample
PK: dsr_sample_id
|
by: spam |
last post by:
If I run the following query in Access 2002 then I get the expected
result:
SELECT *
FROM CSVImport
UNION SELECT *
FROM AssetTemp;
I get the contents of both tables with no duplicates. If I add INSERT
INTO, then it doesn't work:
|
by: wugon.net |
last post by:
question: db2 LUW V8 UNION ALL with table function month() have bad
query performance
Env:
db2 LUW V8 + FP14
Problem :
We have history data from 2005/01/01 ~ 2007/05/xx in single big
table,
we try separate this big table into twelve tables and create a view
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |