Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

What event does a hotkey generate?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom - 15 Jan 2008 19:30 GMT
All,
I have a date field in a form that has vba code attached to the 'after
update' event.
Then I setup a hotkey to auto the current date in the same field.
The problem I am having is that when I hit the hotkey sequence the field is
populated with the current date - however my vba code does not work.
Any idea what event the population of the field by a hotkey produces?
Thanks for you help.
Tom van Stiphout - 16 Jan 2008 04:32 GMT
None. And for good reason. Programmatic filling of fields typically
does not trigger any event. So you rewrite your code. Perhaps you can
call the <control>_AfterUpdate from the hotkey code.

-Tom.

>All,
>I have a date field in a form that has vba code attached to the 'after
[quoted text clipped - 4 lines]
>Any idea what event the population of the field by a hotkey produces?
>Thanks for you help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.