Unable to enter data into field (1 Viewer)

poohbear2012

Registered User.
Local time
Today, 02:26
Joined
Jan 8, 2012
Messages
30
When trying to enter a Customer ID into a form field it doesn't allow entry. I have checked all the settings and it is enabled and unlocked and all other fields on the form accept entry okay. This still happens when I remove and then readd the field, or add it as a combo box using the design ribbon.

Any suggestions as what could be preventing the entry, as have tried everything I can think of. I am using Microsoft Access 2010.

Many thanks
Trisha
 

poohbear2012

Registered User.
Local time
Today, 02:26
Joined
Jan 8, 2012
Messages
30
No it is a Text field with an Input mask.
 

vbaInet

AWF VIP
Local time
Today, 02:26
Joined
Jan 22, 2010
Messages
26,374
What is the Control Source of the control? I suspect it's calculated.
 

poohbear2012

Registered User.
Local time
Today, 02:26
Joined
Jan 8, 2012
Messages
30
The record source for the field is coming from a query which includes the CustomerID from the tblsalesorders table. The field has worked in other forms, so not sure if it could be the set up of the customerID in this particular table.
 

vbaInet

AWF VIP
Local time
Today, 02:26
Joined
Jan 22, 2010
Messages
26,374
I'm talking about the Control Source of the control, not the Record Source of the form. Let's see both anyway.
 

poohbear2012

Registered User.
Local time
Today, 02:26
Joined
Jan 8, 2012
Messages
30
Attached is a copy of the form and associated tables and query's.
 

Attachments

  • customeriderror.accdb
    496 KB · Views: 113

vbaInet

AWF VIP
Local time
Today, 02:26
Joined
Jan 22, 2010
Messages
26,374
The Record Source of your form is Read-Only. You can't present both tables on one form like that. You need a subform for your SaleOrders table. To be honest, I would advise you read up on normalisation.
 

Users who are viewing this thread

Top Bottom