Refresh / Update Problem

S

Stephen

I have a sizable DB that is a work in progress as I
constantly change it as time goes by. All is fine.

I have form ORDERS
a subform ORDERDETAILS bound to Orders
another subform of ORDERS called CURRENTINVENTORY
(unbound)

After updating the Field [QtyPcs] on Subform ORDERDETAILS
I want to Update/Refresh the Data on
form ORDERS
and subform CURRENTINVENTORY


I wrote the following procedure to the AfterUpdate in the
field [QtyPcs]


Private Sub QtyPcs_AfterUpdate()

Me![Quantity] = Me![QtyPcs] * Me![Weight]
Forms![Orders].Refresh
Me.Refresh

End Sub

The problem I have now is that when I enter a new Qty and
try to Tab to the next field I stay in [QtyPcs] until I
tab a second time.

I know it has to do with these 2 Refresh commands, but
I'm stuck.

I have to Refresh both forms at this point.


Thanks in advance for you help.

Stephen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Refresh Help 0
Adding a record to a subform 0
Refresh subform 0
Refreshing subforms 1
Referencing a subform 4
Subform not refreshing in Access 97 3
Refresh method error 2
Form with Subform not Refreshing 1

Top