Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Access only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Access
Call AfterUpdate Function
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Jahangir
New Member
Join Date:
Oct 2006
Posts:
22
#1
Call AfterUpdate Function
Nov 5 '06, 07:03 AM
How I can call manually
afterupdate
function in my code. When I click on a button this will call afterupdate function of some frame.
Andrew Thackray
New Member
Join Date:
Oct 2006
Posts:
76
#2
Nov 5 '06, 07:10 AM
the AfterUpdate function is just another sub in your form module.
You call it using the format Controlname_Eve nt
EG if I have a command button called cmdExit and I want to run its Click event from code I would use the code line
Code:
cmdExit_Click
Comment
Post
Cancel
PEB
Recognized Expert
Top Contributor
Join Date:
Aug 2006
Posts:
1418
#3
Nov 5 '06, 07:15 AM
If you want to call an after Update function to a Bouton but not from the bouton
you need only to write in the respective form:
myboutonName_Af terUpdate()
To execute the respective in fact Sub
Those aren't functions
:)
Comment
Post
Cancel
NeoPa
Recognized Expert
Moderator
MVP
Join Date:
Oct 2006
Posts:
32662
#4
Nov 6 '06, 09:29 AM
Another way, particularly if you want to call from elsewhere (_AfterUpdate is a Private procedure), is to write the _AfterUpdate sub to call another, Public, routine.
This Public routine can then be called from elsewhere also.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment