B
bbrazeau via AccessMonster.com
I have tables Products and Customers. they are related thru pk in Customer
and fk in Products. The customer field in products is a lookup field from
Customers. I have a form for Products which I have set to not allow edits. I
have a combobox control on the form that lists the customers and its control
source is the Customers from table. I want to be able to select a customer
from the combobox and press a button to have the form filter on only Products
for that Customer. I have done this but only by turning allow edits back on
via the comboboxes got focus event Me.AllowEdits= True. This defeats the
purpose as the end user can mistakenly edit the record and my purpose was to
have a "viewing" only form that is safe from corruption. Any Ideas?
and fk in Products. The customer field in products is a lookup field from
Customers. I have a form for Products which I have set to not allow edits. I
have a combobox control on the form that lists the customers and its control
source is the Customers from table. I want to be able to select a customer
from the combobox and press a button to have the form filter on only Products
for that Customer. I have done this but only by turning allow edits back on
via the comboboxes got focus event Me.AllowEdits= True. This defeats the
purpose as the end user can mistakenly edit the record and my purpose was to
have a "viewing" only form that is safe from corruption. Any Ideas?