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

You can't assign a value to this object

I am getting an error message that other people have gotten. I have
done some search and reading enough to see that this error isn't only
happening to me. However, I am not able to discern a solution from
what I have read. I am still a bit new to Access. I am using Access
2000.

Here is the situation. I open up my database, go to Forms, open the
AddInvoices form, enter a Description, press enter, then try to enter
a value in the first field of the subform which is "InventoryID".
That is when I get this error message:

You can't assign a value to this object
- The object may be a control on a read-only form
- The object may be a on a form that is open in Design view
- The value may be too large for this field

None of those apply, at least not that I could find. This has me
stumped. I have put a copy of my database online here in zip format:

http://nacnud.com/area7/dl/holyrelicstore.zip

Any help is greatly appreciated.

Thank you,
Jonathan Duncan
Nov 12 '05 #1
1 12990
you don't need that field in the subform that sets the invoice id
the linking fields take care of that automatically

plus you probably should be enforcing your one-to-many relationships
you will have to clean up your data otherwise it will not allow you to
enforce them

"Jonathan" <go**********@nacnud.com> wrote in message
news:20**************************@posting.google.c om...
I am getting an error message that other people have gotten. I have
done some search and reading enough to see that this error isn't only
happening to me. However, I am not able to discern a solution from
what I have read. I am still a bit new to Access. I am using Access
2000.

Here is the situation. I open up my database, go to Forms, open the
AddInvoices form, enter a Description, press enter, then try to enter
a value in the first field of the subform which is "InventoryID".
That is when I get this error message:

You can't assign a value to this object
- The object may be a control on a read-only form
- The object may be a on a form that is open in Design view
- The value may be too large for this field

None of those apply, at least not that I could find. This has me
stumped. I have put a copy of my database online here in zip format:

http://nacnud.com/area7/dl/holyrelicstore.zip

Any help is greatly appreciated.

Thank you,
Jonathan Duncan

Nov 12 '05 #2

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

Similar topics

26
by: Dave Hammond | last post by:
In document "A.html" I have defined a function and within the document body have included an IFRAME element who's source is document "B.html". In document "B.html" I am trying to call the function...
0
by: Tim::.. | last post by:
HELP... Can someone please tell me why I keep getting the following error! I am new to AD is ASP.NET and would really appritiate any advice! Thanks ...ERROR.. Exception Details:...
8
by: Sergei | last post by:
Hi, I am displaying modal dialog and passing values from the main form to the modal dialog and back. It works fine but if I used the following syntax on Page_Load(just for testing) in VB to...
5
by: Just Me | last post by:
Given a button name Btn_5 and Index=5 I want to do something like dim zz as string = Btn_??Index??.Text or given an array of buttons, do:
12
by: dennist685 | last post by:
Can't edit, delete or add row in an Access database in a website 2003 When I implement a walkthrough using Northwind I have no trouble doing this. Also, in a windowsforms project I have no...
7
by: Edward Diener | last post by:
Since implement the assign operator for reference types eliminates the ability to assign a reference object to a reference variable of the same type or base class of that type, I assume that...
12
by: Danny Colligan | last post by:
In the following code snippet, I attempt to assign 10 to every index in the list a and fail because when I try to assign number to 10, number is a deep copy of the ith index (is this statement...
18
by: joaotsetsemoita | last post by:
Hello everyone, I'm having troubles assigning an onclick event to a cell. Im trying something like cursorPoint.cells.style.cursor = "hand"; cursorPoint.cells.width = "20";...
28
by: Stef Mientki | last post by:
hello, I'm trying to build a simple functional simulator for JAL (a Pascal-like language for PICs). My first action is to translate the JAL code into Python code. The reason for this approach is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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
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...

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.