Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Controling events on Subform from Main Form

Author  Topic 

sqlslick
Yak Posting Veteran

83 Posts

Posted - 2014-05-30 : 12:44:29
Hello,

I have a form named frmIncident with a Subform named frmDetails. The two forms are joined by IncidentID. How do I execute commands like the ones below from frmIncident Form_Current() event?

DoCmd.RunCommand acCmdRecordsGoToLast
Me.CurrentRecord
Me.Recordset.RecordCount

I have created custom navigation buttons using sample from the following source: http://www.fontstuff.com/access/afmc01.htm

I have navigation buttons on the main form and the subform. The main form navigation works like a charm from the Form_Current() event but storing the code in the subform's Form_Current() event is not working at all.

Thanks in advanced for your help!
   

- Advertisement -