A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Refresh / Update Problem



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2004, 02:04 PM
Stephen
external usenet poster
 
Posts: n/a
Default Refresh / Update Problem

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




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh after update Suzanne P. General Discussion 5 August 28th, 2004 05:04 AM
Outlook Express Update Exp 6 SP! (KB837009) PA Bear Outlook Express 0 August 21st, 2004 10:20 PM
Product Key for Office XP P.G.Indiana Setup, Installing & Configuration 1 June 7th, 2004 03:22 AM
Productkey problem when installing office 2003 on network Stefan Schreurs Setup, Installing & Configuration 1 June 1st, 2004 11:16 PM
word error mac General Discussions 1 May 6th, 2004 08:14 AM


All times are GMT +1. The time now is 08:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.