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  

Recalculate



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2004, 02:33 AM
Floyd Forbes
external usenet poster
 
Posts: n/a
Default Recalculate

Is there any way to put a command button on a main form
to recalculate the formula I have in the after update behind a text box. The
text box is in a subform on the main form.

Floyd


  #2  
Old July 26th, 2004, 03:26 AM
Graham R Seach
external usenet poster
 
Posts: n/a
Default Recalculate

Floyd,

Just call the AfterUpdate event procedure.

Private Sub cmdMyButton_Click()
txtMyTextBox_AfterUpdate
End Sub

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyT...764559036.html


"Floyd Forbes" wrote in message
...
Is there any way to put a command button on a main form
to recalculate the formula I have in the after update behind a text box.

The
text box is in a subform on the main form.

Floyd




  #3  
Old July 26th, 2004, 03:48 AM
Floyd forbes
external usenet poster
 
Posts: n/a
Default Recalculate

How do I get this to work if the text box is on a subform.

"Graham R Seach" wrote in message
...
Floyd,

Just call the AfterUpdate event procedure.

Private Sub cmdMyButton_Click()
txtMyTextBox_AfterUpdate
End Sub

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyT...764559036.html


"Floyd Forbes" wrote in message
...
Is there any way to put a command button on a main form
to recalculate the formula I have in the after update behind a text box.

The
text box is in a subform on the main form.

Floyd






 




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
Excel 2002 does not recalculate existing formulas Natasha Laughton Worksheet Functions 3 September 16th, 2003 10:22 AM


All times are GMT +1. The time now is 06:27 PM.


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