Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #16  
Old May 30th, 2008, 01:06 PM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 870 Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 4 h 12 m 53 sec
Reputation Power: 25
Fantastic....that works great for the select...

But how do I get that into an Update Query and actually apply those values to existing fields?

Thats where I am stuck...

Thank you very much for your help...VERY apprecaited...

Reply With Quote
  #17  
Old May 30th, 2008, 02:01 PM
sbenj69's Avatar
sbenj69 sbenj69 is offline
Redneck 'puter fell'r
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2007
Location: Redneck part of Illinois
Posts: 1,728 sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)  Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 1 Day 14 h 59 m 22 sec
Reputation Power: 1466
Ok, using the same sample db I attached previously, I create an update query based on the query where I parsed the data.
Code:
UPDATE Query1 SET Query1.f1 = [part1], Query1.f2 = [part2], Query1.f3 = [part3], Query1.f4 = [part4];
Here is the sample including the update query.
Attached Files
File Type: zip db1.zip (8.5 KB, 66 views)
__________________
Did I help you? If so gimme rep by clicking on the scales at the top right corner of this post

Madness does not always howl. Sometimes, it is the quiet voice at the end of the day saying, "Hey, is there room in your head for one more?"

Reply With Quote
  #18  
Old May 30th, 2008, 02:03 PM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 870 Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 4 h 12 m 53 sec
Reputation Power: 25
will try this

Reply With Quote
  #19  
Old May 30th, 2008, 02:17 PM
Jaykappy Jaykappy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2005
Posts: 870 Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level)Jaykappy User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 4 h 12 m 53 sec
Reputation Power: 25
Fantastic...that was it...

Just dont understand why it was nessessary to create another query to do the update?

YOu were not kidding...that was crazy to do that update...


VERY APPRECIATED...thank you once again...


Have a great weekend

Reply With Quote
  #20  
Old May 30th, 2008, 02:20 PM
sbenj69's Avatar
sbenj69 sbenj69 is offline
Redneck 'puter fell'r
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2007
Location: Redneck part of Illinois
Posts: 1,728 sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)  Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 1 Day 14 h 59 m 22 sec
Reputation Power: 1466
The reason for the 2 separate queries....

1. You can pull up select records in the first 1, update with the 2nd

2. The expressions had to be defined, this is the easiest way to do it.

Last edited by sbenj69 : May 30th, 2008 at 02:23 PM.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Query


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek