473,799 Members | 3,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't edit data in a subform

I have a form which allows you to select a record. That record has
other records asscociated with it via a table. The asscociated records
of the record selected on the main form are shown in a subform.

This all works fine. But then, when I try to edit a record in the
subform It does not let me. I have a dropdown box, but cannot select
from it... does anyone know why this is, and what I could do to fix it?

Aug 16 '06 #1
1 24930
It could be several different things, but here are some common ones.

1. Open your subform in design view and look at the properties of the
form. Look at the data tab. If Allow Edits is set to No, then you
can't edit data without changing it to Yes.

2. Look at the properties of your field you are trying to update.
Again look at the data tab. If Locked is set to Yes, or Enabled set to
No, then you cannot edit the field. Enabled must be Yes, and Locked
No.

3. If your Record Source for the form is a query that has outer joins
you cannot edit the data. If you don't know what an outer join is,
look at the query and if there is an arrow going from one table to
another, that is an outer join.

4. If your Record Source for the form is a query that has joins, but
the join is not on the primary key of one of the tables, you probably
will not be able to edit the data.

That should give you some things to check for.

Hope that helps!



or********@gmai l.com wrote:
I have a form which allows you to select a record. That record has
other records asscociated with it via a table. The asscociated records
of the record selected on the main form are shown in a subform.

This all works fine. But then, when I try to edit a record in the
subform It does not let me. I have a dropdown box, but cannot select
from it... does anyone know why this is, and what I could do to fix it?
Aug 16 '06 #2

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

Similar topics

2
4722
by: Jeremy | last post by:
I have a pretty straightforward database that is designed to record free-form information about products (date, source and a memo field). This is searched and updated via a form. For new records, the memo field is usually filled by cutting and pasting from e-mails, web content and spreadsheets. The only problem is that some of the memos can be just a few words, and some can be tens or hundreds of lines, and I've realised that zooming...
2
8238
by: Terry Bickle | last post by:
Please forgive me for using the wrong term here or there. I'm an old Excel 4 macro guy who didn't convert to VB and I'm tinkering with an Access 2000 DB. I'm sure there is a simple Access 101 answer for this. I have a subform which the user selects an item description from a combo box from a table. I want to obtain the cost for the item (another field in the table) also. I've been able to produce the second data field by rewriting the...
2
4399
by: Galina | last post by:
Hello I have an application in MS Access 2000. I have a form, which includes a subform. The subform is based on a table, but locked for any editing. There is Edit button. When clicked, it starts a separate unbound form with all the fields, which are on the subform. The fields are filled in with data programmatically. User edits. Edited fields are copied into fields on the subform programmatically as well. I need to catch change in one of...
1
3072
by: SorboPos | last post by:
Hi. I have a form with continuous forms and a data entry section in the header of the form. (I.e. all transactions show in the main form area like a data sheet and the data for the highlighed tran is entered or edited in the header.) Record source for the form is a query that is sorted by tran date. Records are sorted by date of transaction ascending.
1
3240
by: google | last post by:
I have a form with several subforms. Users enter the data, then on the parent there is a command button that runs code to generate a .pdf document from a report based on the data they are working with. If a user enters data in a subform, then directly clicks the command button on the parent form, the data in the subform is not included in their document. I THOUGHT that as soon as focus left the subform, any pending changes to the data...
2
2307
by: pats2kdynasty | last post by:
I have a bunch up lookup tables that I want to allow the user to edit. I am trying to accomplish this via one form with a drop-down list of the lookup tables. When the user selects a table the subform appears below with table (datasheet view). I know how to set the datasource, but how do I dynamically make the fields appear on the subform....or is there an easier way to handle this. Any help, downloads, examples, links, etc. would be...
5
1757
JamesDC
by: JamesDC | last post by:
Hey all, I'm working with Access 2002, and I have a subform which gives access to a Table called Product_Values. This subform's purpose is to allow the user to edit the $ values of the products without having to open the background information of the database. This table has Product ID, Product Name, and Value headings, and I want the user to only be able to edit the Value area. If a Product name is changed there could be serious side...
2
5487
by: lindabaldwin | last post by:
Hi there all you smarter than me people! I am stuck. I have been working on this database for days and cannot figure out how to solve my problem. I have a form with two embedded subforms. The parent form contains patient identifiers, such as, medical record number, first name, middle initial, last name, physican name, etc. The first subform contains appointment information, such as, test results, procedures, counseling, etc. The second...
8
10388
by: wassimdaccache | last post by:
Dear Friend Working on access 2007 sp2. My form is consisting from a form and a subform. while i am using the alowedits=no option on the property of the main form it is preventing me to edit my subform. Is there any method where I will be able to stop edit in the main form while the subform still editable ?
0
9687
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9543
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
10488
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
10029
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
9077
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
7567
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
5467
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...
1
4144
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
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.