473,468 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Editing values from a bounded object

8 New Member
Hi,
I'm new to Access so excuse if my question is too simple. I'm creating an app to manage spare objects in my company. So a user select from list boxes the criteria they want and hit a button that runs a query and display the results in a sub-form in the current view. The user look for the record he needs, and then double-click it. When the record is clicked, another form opens, in this form, there are bounded text boxes with the information of the selected item. In this view, I want the user to enter the new info for the item selected (plant, building, floor, DNS, IP and change it status from "Spare" to "Active") and then, using a button, save and exit the form.
The problem is that when I try to edit any field in the second form (after double-clicking the selected item), access don't leave me change anything (I think it is because is a bounded object, but not sure why and what to do)
Any Ideas???

using Access2007 in WinXp Professional
Thank you in advance
Jan 14 '08 #1
7 1328
Rabbit
12,516 Recognized Expert Moderator MVP
Please don't double post your questions, your other thread will be deleted.

Check the Allow Edits property of your form, it should be set to Yes.
Jan 14 '08 #2
GabyFont
8 New Member
Please don't double post your questions, your other thread will be deleted.

Check the Allow Edits property of your form, it should be set to Yes.
I'm sorry, I didn't remember sending it twice,
The property of the form is already set to "Edit" also each text box.
Any other idea???
Jan 14 '08 #3
Rabbit
12,516 Recognized Expert Moderator MVP
Check the control sources, they should be bound to field names from your table. Also, try closing all other forms, tables, and queries.
Jan 14 '08 #4
GabyFont
8 New Member
Check the control sources, they should be bound to field names from your table. Also, try closing all other forms, tables, and queries.
All controll are bounded to the subform where the user makes it selection
Jan 14 '08 #5
Rabbit
12,516 Recognized Expert Moderator MVP
All controll are bounded to the subform where the user makes it selection
Are you saying that the Second form is bound to the first form's subform? That doesn't work. You need to set the control source to same table and bind the fields that way.
Jan 14 '08 #6
GabyFont
8 New Member
ok, I get you, but how can I do that, since I'm trying to edit the record choosed (by double clicking on it) by the user, in the subform of my main form
Jan 14 '08 #7
Rabbit
12,516 Recognized Expert Moderator MVP
ok, I get you, but how can I do that, since I'm trying to edit the record choosed (by double clicking on it) by the user, in the subform of my main form
When you run the DoCmd.OpenForm, use the WHERE parameter to restrict which record gets returned.
Jan 14 '08 #8

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

Similar topics

1
by: Ux | last post by:
ServerSide: PHP+MySql ClientSide: JS (IE5+, Moz1.7) I need to edit an HTML table that contains records from a table in MySQL. A MsAccess datagrid or similar behaviour should be the best, but...
1
by: Joseph Yang | last post by:
Hello all, I have a datagrid bounded with an Arraylist containing contact objects, and a edit button (<asp:imagebutton/>) in each row When I click edit button, I want a window popup so I can...
3
by: Andrea | last post by:
The Gridview's RowDeleting event, give the power - cycling the e.Keys Dictionary, to discover the values of the Primary key fields of the dataset setup throught the DataKeyNames. Since I want to...
0
by: tom c | last post by:
I am going through "Walkthrough: Editing and Inserting Data in Web Pages with the DetailsView Web Server Control" found at http://msdn2.microsoft.com/en-us/library/sdba1d59.aspx I am using...
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
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
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,...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.