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

Help needed with Access 2003

16
Hi I am using MS access query my problem is that I have a coloumn called Measure and one called MO.Where data is equal to "ABC" in MO column I need the data "ABC" to overwright the value in the Measure column. I think its a udpdate query but not sure how to use it. Hope this makes scense

Dave
Sep 5 '07 #1
5 1395
Scott Price
1,384 Expert 1GB
Hi I am using MS access query my problem is that I have a coloumn called Measure and one called MO.Where data is equal to "ABC" in MO column I need the data "ABC" to overwright the value in the Measure column. I think its a udpdate query but not sure how to use it. Hope this makes scense

Dave
Well, we can help with how to do that, but first of all, why do you want to store duplicate values in your table?

Regards,
Scott
Sep 5 '07 #2
Davidsm
16
Well, we can help with how to do that, but first of all, why do you want to store duplicate values in your table?

Regards,
Scott
Hi Scott I need to compile a graph of the data.
In the measure column i have 5 or 6 differant measures one of the measures is {MO Other} where in the MO EX column if the column data is {Bank Alliance}
in need to change {MO Other} to Read {Bank Alliance} The MO EX column has just got an extra break down on the MEASURE COLUMN
Sep 5 '07 #3
Scott Price
1,384 Expert 1GB
Well, the general syntax of an update query is:
Expand|Select|Wrap|Line Numbers
  1. UPDATE [NameOfTable]
  2. SET [ColumnName] = [Value], [ColumnTwo] = [Value]
  3. WHERE [UpdateCriteria]
So you'll likely need to write something like this:

Expand|Select|Wrap|Line Numbers
  1. UPDATE tblX
  2. SET Measure = MO
  3. WHERE MO = "ABC"
When working with queries that change values in your table, you need to test the query completely on TEST data first!! :-) Make a copy of the real table with real data, and work on the copy until you get all the bugs worked out of your update query.

Regards,
Scott
Sep 5 '07 #4
Davidsm
16
Well, the general syntax of an update query is:
Expand|Select|Wrap|Line Numbers
  1. UPDATE [NameOfTable]
  2. SET [ColumnName] = [Value], [ColumnTwo] = [Value]
  3. WHERE [UpdateCriteria]
So you'll likely need to write something like this:

Expand|Select|Wrap|Line Numbers
  1. UPDATE tblX
  2. SET Measure = MO
  3. WHERE MO = "ABC"
When working with queries that change values in your table, you need to test the query completely on TEST data first!! :-) Make a copy of the real table with real data, and work on the copy until you get all the bugs worked out of your update query.

Regards,
Scott
Thanks Scott works like a dream
Sep 6 '07 #5
Scott Price
1,384 Expert 1GB
Thanks Scott works like a dream
Glad it's working for you!

Regards,
Scott
Sep 6 '07 #6

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

Similar topics

2
by: Ian DeRock | last post by:
I'm fairly new to XML. As I can see it, XML is a way to organize data like in a table in a RDB, or the RDB itself. I have used XML in application data, but did not design the actual XML. I...
2
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting...
4
by: Wayne Aprato | last post by:
I have a simple database which was originally written in Access 97. When converted to Access 2000 file format it ran flawlessly in Access 2002. I've just tried to run it in Access 2003 and I am...
13
by: Siegfried Heintze | last post by:
I refered the engineer at my hosting service to http://support.microsoft.com/default.aspx?scid=kb;en-us;825738 where he tried to follow the directions there. He said there was no such file:...
3
by: cwoll | last post by:
Hi I need help. I have a ms access 2003 database that I would like to upgrade to ms access 2007. The first time I opened I had to fix a few references it wanted a DAO2535.TLB file witch I gave it,...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
1
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
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: 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...

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.