Access03
Have an Order Main form and a Customer Subform - their link is the customer
key.
When I start a new order the Order form will autonumber increment its order
key up, and the Customer subform key is pending until data entry.
I have a combo box on the main form to look up a past customer...upon select
it populates the subform fine...and the customer key is passed to the order
main form.
All works fine.
But if there is a brand new customer and I don't use the combobox - when I
type the first letter of any customer info in the subform - it throws the
"Can't assign a value for this object" message box.....however one presses
OK, but then you can carry on just fine and everything works....
not clear to me why it is throwing this error message that appears
invalid....would welcome clarification...

Signature
NTC
Arvin Meyer [MVP] - 26 Mar 2008 15:26 GMT
You should have the LimitToList property set to Yes, and you can deal with
the error by using the NotInList event. There is some generic sample code
for dealing with this at my website:
http://www.datastrat.com/Code/NotInListCode.txt

Signature
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
> Access03
>
[quoted text clipped - 21 lines]
> not clear to me why it is throwing this error message that appears
> invalid....would welcome clarification...