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

Why is my drop down selection changing records?

ooooooooh ok.

I have a form with three combo boxes on it. The first one is based on a query which selects the distinct name from the table, the other two I have as a list.

I originally tried to make this unbound because I thought that would be the best way, but in trying tons of stuff, I decided to change that. So I have a query which pulls distinct records and then use the information gathered from the combobox to gather the data for the subform.

It works great except for one problem. I can not edit the records in the subform. It just beeps and down in the lower left hand side of the screen it says "This recordset is not updateable"

What can I give you that will help me solve this? I have tried making the form several different ways and the only time I didn't get the error it turned out that it was actually changing the records to be assigned to the new selected name.
Oct 10 '10 #1
4 1453
nico5038
3,080 Expert 2GB
You need to record in the subform's table the target table for your comboboxes. (They are in fact "Foreign keys") Then Access will by default make a combobox when placing the field on the form.

You now have trouble as Access doesn't allow a JOINed query to be updatable.

Nic;o)
Oct 10 '10 #2
I decided to redo the form one step at a time to see where the problem was. I took the combo boxes out and put the subform to a query based on a static selection. I put the subform back into the main form, still and I can update it with no problem except my record selectors and navigation buttons don't appear... yes I check to make sure the record selector option was set to yes...

If I can get that fixed, even though I don't think I should have to do it this way... I will re-create the query when the get data button is selected and requery and repaint the form.

If anyone has a better suggestion I am open to ideas
Oct 10 '10 #3
they are actually fields in the same table and if you mean the master/child links.. I tried that
Oct 10 '10 #4
nico5038
3,080 Expert 2GB
Hmm, losing me with "they are actually fields in the same table"

Normally a combo is based on a linked table or a value list.

Just make sure your subform is based on a table and not on a query with a JOIN.

Nic;o)
Oct 11 '10 #5

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

Similar topics

6
by: Steve Speirs | last post by:
Hi I'm trying to show/hide a simple piece of text and a text field on a form based on what choice is made from a drop down box. <select name="dropdown" size="1"> <option selected...
5
by: Jeff | last post by:
Hi, I am trying to set the value of one drop down select box to the value of another drop down select box. I have the following in a function. document.formname.boxto.options.v alue =...
2
by: Sybre | last post by:
I have a script which reads a file and generates a list for a drop-down selection box. However, I want to be able to change which option is selected when certain buttons are clicked - how can I do...
1
by: bvlmv | last post by:
Hello, relatively new to programming and just trying to create a simple asp page. I have the following drop down menu on a html page and when submitting i would like to call out on asp what someone...
6
by: bvlmv | last post by:
Hello, relatively new to programming and just trying to create a simple asp page. I have the following drop down menu on a html page and when submitting i would like to call out on asp what...
1
gurusarentus
by: gurusarentus | last post by:
I have a web page that is using drop down menu selections to allow students to make a 4 year academic plan online. My problem is not with the menus themselves, but I would like for another field to...
5
by: SterLo | last post by:
I was wondering if anyone had any good methods for this problem. I have a drop down box that is generated: Status: <select name="tt_ticketstatusid" class="swiftselect"><option value="1"...
2
by: bbatson | last post by:
Hello, Does anyone have any advice as to how to limit a drop-down selection in a table? For example, suppose I have two tables - essentially a one-to-many relationship. One table is...
1
by: sidavis21 | last post by:
Hi, bit baffled with this but very newbie with php. I have an html form that works fine with the cgi script that our institution has provided for me to work with. What I would like however is the...
6
by: Palehorse | last post by:
I'd like to apologize upfront for me saying "I'm not a programer", I'm sure you all hear this a hundred times a day. Unfortunately, in this case, it's true. I've been working on trying to figure out...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.