473,411 Members | 2,083 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,411 software developers and data experts.

Updateable query

Ray
I have below query in Access 97 but it is not updateable by entering
or editing data in the query. Can someone advise how to modify it to
be updateable one.

SELECT [Shipping data].PCode, [Shipping data].Model, [Shipping
data].Description, [Shipping data].DatePorductionStarted, [Shipping
data].EstimatedShipDatePerSupplier, [EstimatedShipDatePerSupplier]+30
AS
Period, [Merchase Area].[Merchandise Area] AS Category, [Merchase
Area].[Code No]
FROM [Shipping data] INNER JOIN ([Merchase Area] INNER JOIN [Product
information] ON [Merchase Area].[Code No] = [Product
information].[Merchanise Area]) ON [Shipping data].PCode = [Product
information].PCode;

Thanks,

Ray
Nov 13 '05 #1
3 2849
Remove both aliases (As) and the +30 and your query should be updateable. As for
the +30, handle that in your form or report.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Ray" <ra*******@yahoo.com.hk> wrote in message
news:d3**************************@posting.google.c om...
I have below query in Access 97 but it is not updateable by entering
or editing data in the query. Can someone advise how to modify it to
be updateable one.

SELECT [Shipping data].PCode, [Shipping data].Model, [Shipping
data].Description, [Shipping data].DatePorductionStarted, [Shipping
data].EstimatedShipDatePerSupplier, [EstimatedShipDatePerSupplier]+30
AS
Period, [Merchase Area].[Merchandise Area] AS Category, [Merchase
Area].[Code No]
FROM [Shipping data] INNER JOIN ([Merchase Area] INNER JOIN [Product
information] ON [Merchase Area].[Code No] = [Product
information].[Merchanise Area]) ON [Shipping data].PCode = [Product
information].PCode;

Thanks,

Ray

Nov 13 '05 #2
Ray
PC Datasheet,

Thanks for your advice. I can remove +30 but cannot remove both aliases
(As) as I need them as criteria to query the table. Any other options?

Ray

"PC Datasheet" <no****@nospam.spam> wrote in message
news:SF*****************@newsread2.news.atl.earthl ink.net...
Remove both aliases (As) and the +30 and your query should be updateable. As for the +30, handle that in your form or report.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Ray" <ra*******@yahoo.com.hk> wrote in message
news:d3**************************@posting.google.c om...
I have below query in Access 97 but it is not updateable by entering
or editing data in the query. Can someone advise how to modify it to
be updateable one.

SELECT [Shipping data].PCode, [Shipping data].Model, [Shipping
data].Description, [Shipping data].DatePorductionStarted, [Shipping
data].EstimatedShipDatePerSupplier, [EstimatedShipDatePerSupplier]+30
AS
Period, [Merchase Area].[Merchandise Area] AS Category, [Merchase
Area].[Code No]
FROM [Shipping data] INNER JOIN ([Merchase Area] INNER JOIN [Product
information] ON [Merchase Area].[Code No] = [Product
information].[Merchanise Area]) ON [Shipping data].PCode = [Product
information].PCode;

Thanks,

Ray


Nov 13 '05 #3
Ray,

I hope I didn't mislead you about the +30 and the aliases!

<< [EstimatedShipDatePerSupplier]+30 AS Period>>

Just make it: [EstimatedShipDatePerSupplier]

<< [Merchase Area].[Merchandise Area] AS Category

Just make it: [Merchase Area].[Merchandise Area]

Steve
PC Datesheet

"Ray" <ra*****@hkbn.net> wrote in message news:ce***********@news.hgc.com.hk...
PC Datasheet,

Thanks for your advice. I can remove +30 but cannot remove both aliases
(As) as I need them as criteria to query the table. Any other options?

Ray

"PC Datasheet" <no****@nospam.spam> wrote in message
news:SF*****************@newsread2.news.atl.earthl ink.net...
Remove both aliases (As) and the +30 and your query should be updateable.

As for
the +30, handle that in your form or report.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Ray" <ra*******@yahoo.com.hk> wrote in message
news:d3**************************@posting.google.c om...
I have below query in Access 97 but it is not updateable by entering
or editing data in the query. Can someone advise how to modify it to
be updateable one.

SELECT [Shipping data].PCode, [Shipping data].Model, [Shipping
data].Description, [Shipping data].DatePorductionStarted, [Shipping
data].EstimatedShipDatePerSupplier, [EstimatedShipDatePerSupplier]+30
AS
Period, [Merchase Area].[Merchandise Area] AS Category, [Merchase
Area].[Code No]
FROM [Shipping data] INNER JOIN ([Merchase Area] INNER JOIN [Product
information] ON [Merchase Area].[Code No] = [Product
information].[Merchanise Area]) ON [Shipping data].PCode = [Product
information].PCode;

Thanks,

Ray



Nov 13 '05 #4

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

Similar topics

8
by: Tom wilson | last post by:
This is driving me nuts. I'm trying to update an Excel spreadsheet using ADO.Net and Oledb in VB.Net. The connection is open, the adapter is connected and the dataset is loaded. Here's the code...
4
by: Steve | last post by:
I have a products table where the PK is ProductID. Also have the standard Orders table and OrderDetails table. I created a query that joins the Orders table and OrderDetails table. The query...
1
by: Edward | last post by:
I've recently migrated the back end of one of my client's applications from Access to SQL Server. One of the forms is based on an Access query thus: SELECT dbo_tblDistributionDetail.*,...
4
by: Jim in Arizona | last post by:
Continuing my lessons out of a book, I ran into a problem when trying for the first time to update a datastore (access database in this case). My Code: Private Sub Page_Load(ByVal sender As...
5
by: Web Search Store | last post by:
I'm getting this error on my web page: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Operation must use an updateable query. /searchweb33.asp, line 5014 Here is the...
8
by: Jim in Arizona | last post by:
I've been using an example out of a book to be able to edit the rows in a database. I am getting the following error: ========================================================...
11
by: Arpan | last post by:
I have always been working with SQL Server 2005 for ASP.NET apps but due to some reasons, had to revert back to MS-Access 2000. When I try to insert/update a MS-Access DB table (MDB), ASP.NET...
1
by: pavya | last post by:
Hi, I have developed one Web application. At that time my system had a FAT file system on it and this application worked properly. But now i have converted FAT file system to NTFS file system and...
2
by: jghouse | last post by:
Everyone, Hopefully you can help me with a little problem I am having. I have a need to limit the records shown in a form by a few different criteria. I also need these records to be editable....
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?
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
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
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
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...
0
agi2029
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,...
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...
0
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...

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.