A
Al Westerlund
I have a form that our receptionists use to enter a
reporting probationers name. This name will then show up
on a probationer officers desktop in an access form
filtered for that particular agent. When the form comes
up for the receptionist, she enters the agents 4 digit
agent code and then goes to the next field to enter the
reporting probationers name. All goes ok if she tabs to
the next field. However, if the enter key is pressed at
any time, it closes the form and does not save the entry.
This has caused some confusion. I have the Keyboard
option set in Options to go to the next field and in all
my other forms is works as expected. The one difference
in this form is it also has a subform on it. The subform
has only one field (the agent name). There is a
relationship between the reporting table and the agent
table. The agent table has the agents code and their name
and the reporting table only has the agent code. I put
the subform with the name field in the form so that the
receptionist will see the name of the offender to confirm
that she put the agent code in for the proper agent. I am
a newcomer to Access as previously in programmed in
ObjectPal. There are a lot of things I like about Access
but the data model in Paradox made it much easier to add
fields from seperate tables without creating subforms.
Could somebody tell me how to correct the Enter key
behavior for this form? I strongly suspect it is the
subform that is causing the problem since my other forms
work OK. Or alternatively, is there a way to put fields
from other tables on a form without putting a subform on
the form? Thanks in advance for your help.
reporting probationers name. This name will then show up
on a probationer officers desktop in an access form
filtered for that particular agent. When the form comes
up for the receptionist, she enters the agents 4 digit
agent code and then goes to the next field to enter the
reporting probationers name. All goes ok if she tabs to
the next field. However, if the enter key is pressed at
any time, it closes the form and does not save the entry.
This has caused some confusion. I have the Keyboard
option set in Options to go to the next field and in all
my other forms is works as expected. The one difference
in this form is it also has a subform on it. The subform
has only one field (the agent name). There is a
relationship between the reporting table and the agent
table. The agent table has the agents code and their name
and the reporting table only has the agent code. I put
the subform with the name field in the form so that the
receptionist will see the name of the offender to confirm
that she put the agent code in for the proper agent. I am
a newcomer to Access as previously in programmed in
ObjectPal. There are a lot of things I like about Access
but the data model in Paradox made it much easier to add
fields from seperate tables without creating subforms.
Could somebody tell me how to correct the Enter key
behavior for this form? I strongly suspect it is the
subform that is causing the problem since my other forms
work OK. Or alternatively, is there a way to put fields
from other tables on a form without putting a subform on
the form? Thanks in advance for your help.