473,503 Members | 11,968 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control can't be edited, it is bound to an Autonumber field.

111 New Member
I am having this problem editing a combobox. Which has different Rowsource based on the person logged in. When I click on it, it says above message below the form.
Name:cmbDistrict
BoundColumn:1
RowsourceType:Table/Query
Rowsource: Depends on the person logged in If spvr logs in it is qryHQ, if mngr of region1 logs in it is qryRegion1, likewise
Please let me know where should i see to fix it?
Dec 22 '09 #1
6 9853
missinglinq
3,532 Recognized Expert Specialist
Is the field in Column(1) an AutoNumber field?

Is the combobox bound to an AutoNumber field in the underlying table?

Linq ;0)>
Dec 22 '09 #2
NeoPa
32,557 Recognized Expert Moderator MVP
You won't see a fix to it. That's the correct behaviour for a control bound to an AutoNumber field. Changing that would make no sense.
Dec 22 '09 #3
AccessBeetle
111 New Member
No it is not bound to an Autonumber field. The wonder thing is I have similar stratgies in other forms, half of them works and half of them do not. I also tried to copy paste the working forms, but no luck.
Dec 23 '09 #4
missinglinq
3,532 Recognized Expert Specialist
What exactly are you trying to do with this combobox?

Can you Zip the file and post it here?

Linq ;0)>
Dec 23 '09 #5
AccessBeetle
111 New Member
Got an answer!! I cannot believe that I am so blind!!
The query which was bound to the form, has one of the field called DistrictID and the combobox should look up the value from the ValDistrict table. I, by mistake, selected DistrictID column from look up table ValDistrcit instead of taking it from the actual table.
Missinglinq, you were kind of right that it had an autonumber field.
Thanks guys and Merry Chirstmas & Happy New Year!!
Dec 23 '09 #6
NeoPa
32,557 Recognized Expert Moderator MVP
Normally it wouldn't be a surprise that the error message was actually right, but I've had a fair few which were simply misleading to say the least, so I can only say it's generally a good idea to look there first.

Anyway, I'm pleased you managed to find your issue and Happy Christmas :)
Dec 23 '09 #7

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

Similar topics

0
1006
by: Maurice Mertens | last post by:
Hi, I'm having a form with a bound control "ID" and it's bound to an Access database. The field ID is an autonumbering field. When I add a new record, the ID is numbered 1 up, for example from...
0
3463
by: SiRkNiGhT115 | last post by:
Hello, I am new to MS Access and I am trying to do a database for work just for a school project. I am trying to step up a database for our inventory but I am trying to setup a employee Id box so...
5
10181
by: F. Barth | last post by:
Hello, I've posted this problem to one other newsgroups, and gotten some diagnostic help, but I still need a solution. The full text of the message box is: "The field is too small to accept the...
15
12088
by: Lauren Wilson | last post by:
Access 2K dim MyStr as string What is the maximum amount of text or bytes that this variable can store? Does anyone know?
0
1217
by: Andrew Chanter | last post by:
I have an adp connected to a SQL Server. When I add a record to a bound form, the control bound to the autonumber primary key field doesnt automatically refresh when I save the record (using...
12
2038
by: Stephen Poley | last post by:
I have a report which prints data from a parent table and two child tables (Contract and Kosten). Because it is a bit long, I suppress some fields which are often empty, based on methods found in...
2
2555
by: tlyczko | last post by:
Hello, I'm experimenting with Stephen Lebans' Rich Text Control for doing RTF data entry into a memo field. I imported the table, form, toobar, and modules from the A2k version into an A2k3...
11
11532
by: John J. Hughes II | last post by:
I have a DataGridView displaying data from a DataSet. To the right of that I have a custom user control which displays one of the data set fields. The custom user control is bound to the data set...
4
2804
by: greg | last post by:
Hi, I don't think my message posted correctly so here it is. Is there any way to access the individual values of a form text box? I want to iterate through all of the rows and access the...
10
2081
hyperpau
by: hyperpau | last post by:
I've been going nuts about it and I've been searching all over the forums to find answers. Can somebody please help me? I am a somehow advanced Access user with basic VBA knowledge. (No ADO or...
0
7212
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
7364
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
7470
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
5604
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,...
0
4696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1524
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 ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
405
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...

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.