473,624 Members | 2,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 2003 Update query help

3 New Member
I am trying to get an update query to change the password when run.
At the moment I have the two fields;
- Password
- Change_password

I want the query to update my table when the user had written in both of the two fields which should overwrite the previous password with the 'change_passwor d' field.

Any help would be much appreciated.
Nov 16 '11 #1
7 2162
Rabbit
12,516 Recognized Expert Moderator MVP
What do you have so far?
Nov 16 '11 #2
Zak Cowen
3 New Member



I have these two fields but am unsure of what I should write to allow the passwords to change.

As at the moment it doesn't edit any of the fields.
Nov 16 '11 #3
NeoPa
32,567 Recognized Expert Moderator MVP
Update To: under Password should be set to [Insert New Password].

The whole field [New Password] makes no sense in this scenario as explained and should probably be removed.

Criteria: (underneath Update To:) should be applied to ensure that only the record for a specified user is changed, otherwise all records will be set to the same new password. I doubt this is what you want (You certainly haven't said so in your question).
Nov 17 '11 #4
Catalyst159
111 New Member
I am having trouble understanding what it is you are trying to accomplish. Maybe if you can explain the nature of what it is you are trying to do then I can grasp it better and throw some suggestions in. Is this for users of a database? Stuff like that.

Catalyst
Nov 17 '11 #5
Zak Cowen
3 New Member
I am trying to update a password, in my members table to a new updated one.
However i have two tables, one which is the proper members table and another which only has the password and username fields.
So this query will be accompanied by another. This one will insert a new password into the second field which the second query will move the new password into the main members table.

The query will hopefully allow a user to change their password of which they use to login.

Sorry for not being clear the first time.
Nov 17 '11 #6
Catalyst159
111 New Member
No problem. Sometimes its just easier to understand when you know the goal in mind.

What are the names of the tables that you have? What are the names of the fields you have in each table?

Catalyst
Nov 17 '11 #7
NeoPa
32,567 Recognized Expert Moderator MVP
The change in design (or explanation of said design) adds far more questions than answers I'm afraid Zak.

Not least why you have such a design, but more importantly the questions already raised (such as how an individual is managed without updating the records for all users) is not even touched on.

Frankly, this is barely a hint of a question. If you want proper help then you'll need to post a properly considered and fully explained question for us to look at. This isn't even close to that - especially now after a whole bunch of new cans of worms have been opened up.
Nov 17 '11 #8

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

Similar topics

1
5173
by: Kunal | last post by:
Hi, I need some help on writing an update query to update "UnitsSold" field in Products Table whenever I save a transaction. The transaction may contain several "Subtransactions", one for each product sold in that transaction. I have a subtransaction table that maintains record of each subtransaction, with data such as: ProductID, Quantity, TransactionID etc. The Products table has fields: ProductID, UnitsSold, UnitsOrdered,...
2
3935
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 information. When I bought Access 1.0 many years ago, I got a paper manual and an excellent help file with all you needed to know. With Access 97 the manual came as a 'Building Applications' document on the CD and I still had the excellent help. With Access...
10
3260
by: Randy Harris | last post by:
I imported records into a table, later found out that many of them had trailing spaces in one of the fields. If I'd caught it sooner, I could have trimmed the spaces before the import. This wouldn't work (nothing changed): UPDATE tblManuals SET tblManuals.PARTNUM = Trim(); Would someone please tell me how to do an update query that will trim the spaces?
1
1675
by: Wayne | last post by:
I've created a form that has many option boxes to help users choose items (I need option boxes vs. combo boxes because they can choose multiple items per category). I've created an update query to change the value from –1 (system automatically generates that) to the actual value I want. In the criteria section of the append query, I put a simple if statement: IIf("-1","London",""). Regardless of the value that is found however, the...
1
2202
by: csgraham74 | last post by:
Hi Guys, I was wondering if someone could help me with an access query. I basicallly have two tables A & B Im table A there are numerous records with Fields1 & fields 2 I want to use table B to update table A. Bascically i need to compare table A & Table B - if records exist in Table B that are not in Table A
1
8370
by: dohminator | last post by:
Hello Experts, I have two systems written in Access 2003 that I'm in the process of merging. A user will be given a specific screen depending on his user name. I have a form (let's call it frmPMain) that I'd like to use as a stand-alone filter but I'd also like it to be a subform of another form (frmWMain). My question is this - In SQL Query Builder is there a way that I can reference a field's parent form without an implicit reference...
4
2482
by: rdsandy | last post by:
Hi, I have some code below in VBA for Access 2003 which is on a button called "RentalCrosstabPercTtlQtyMonthLoc_Click". This is a crosstab query which brings up rental items down the side, who rents along the top, the rental month and total number of each item on that month as rows next to the item, something like this: Item TotalQty Month Renter1 Renter2 .... PC 234 Aug-2007 2.33 4.55 ...
4
2833
by: slavisa | last post by:
Im having trouble with updating my 1 table with the information from another! I have a table with 6 fields. Code(pk), Name, Title, Address, State, city, zip the table is called Info. Now i have a excel file which i imported it in the access db as a table called newinfo
2
2375
by: Umoja | last post by:
Hi Guys, This is a follow up question from my previous post which Nico5038 help me solved. I have a tblMain which contains (ID-Autonumber, Acct, Number, User). TblMain currently does not have users listed/assign. I have TblUsers (ID, UserName). From TblMain I created a query (Qry_Distribution) which allows me to distribute the accounts evenly among 4 users. I would like to know how to update the field in with the for the accounts...
2
2720
MindBender77
by: MindBender77 | last post by:
Hello again, All... Admin's, I wasn't sure where to post this, please move if in wrong forum. I'm using FrontPage 2003 to post form data to a second form to be used in an update query. The query then updates a record in an Access database. I get this when the page is displayed: Database Results Wizard Error The operation failed. If this continues, please contact your server administrator. I replaced the update query with a simple...
0
8175
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,...
0
8680
Oralloy
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...
0
8625
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 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...
1
8336
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8482
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 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...
0
7168
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
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 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...
0
4082
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...
2
1487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.