473,394 Members | 1,870 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,394 software developers and data experts.

Using AutoNumbers

I have a Table with an autonumber as the ID. I'm trying to get a form where i have a drop down box which displays all the ID values from the table and on selecting one of the values, i want the other fields in the form to get automatically filled by reading from the table.

But i'm not able to do this because i keep getting an error message saying that the auto number cannot be manually updated, which is not what i'm intending to do. Please help me out with this
Jun 4 '07 #1
1 1229
Rabbit
12,516 Expert Mod 8TB
I have a Table with an autonumber as the ID. I'm trying to get a form where i have a drop down box which displays all the ID values from the table and on selecting one of the values, i want the other fields in the form to get automatically filled by reading from the table.

But i'm not able to do this because i keep getting an error message saying that the auto number cannot be manually updated, which is not what i'm intending to do. Please help me out with this
That's probably because the control source is set to the autonumber field. Get rid of the control source but keep the row source.
Jun 4 '07 #2

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

Similar topics

5
by: Ilan Sebba | last post by:
When it comes to adding records in related tables, Access is really smart. But when I try to do the same using ADO, I am really stupid. Say I have two parent tables (eg Course, Student) and one...
2
by: Jim Andersen | last post by:
Hi there, After compacting/repairing a db, I was getting duplicate autonumbers. According to MS KB article http://support.microsoft.com/default.aspx?kbid=257408 This should be fixed with a...
0
by: Zen | last post by:
Can I use "autonumbers" with this configuration? Access XP + Jet 4.0 SP8 1) In some circumstances Autonumber fields cannot correctly reseeded? 2) Or they are properly stable (like Jet 3.5...
1
by: Gt394 | last post by:
I have an autonumber field that provides sequential Quote numbers for each entry in a form. If an entry begins but then the user wants to cancel the entry, the Cancel button simply clears all...
1
by: John Phelan-Cummings | last post by:
I'm not certain if this made the post. Sorry if it's a repeat: Using a Button to take an autonumber from one form to populate another autonumber field on another form. I have a Mainform "A"...
9
by: Or | last post by:
I have an access database full with data written in hebrew charecters. any query which uses a hebrew charecter field for the ORDER BY clause is not sorted properly. The database is sitting in a...
12
by: sandiptaylor | last post by:
Hi, I have a query that generates a table with following columns follows: Aaa Aa1 Aa2 Aa3 Baa1 Baa2 Baa3 Ba1 Ba2 Ba3 B1 B2 B3 CCaa D This is generated by an insert into statement. I then...
2
by: MS Access confuses me 2 | last post by:
Hi Gurus, Please accept my niave understanding of Access, as i am haplessly lost and don't understand as to why the automation of autonumbers is trying to create new numbers even though i have...
1
by: Julie Smith | last post by:
Hi, I have a question about autonumbers in Access db. How are they assigned when adding a new row to a table? I have table that has an autonumber column (replication ID/System.Guid) and a name...
6
by: Salad | last post by:
I'm going to implement an archival database for my app. I have Table1 and Table2. Table2 is a duplicate structure of Table1. I appended records with "ID between 1 and 100", then "ID between 300...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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,...
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
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...

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.