ev66 Posted April 23, 2009 Share Posted April 23, 2009 Hello, I have been trying to reference a button on a subform in accesss, from the main formI have tried various code combinations and looked on internet, but still cant get it to work.Can anyone help please ?Mainform is called Form1Subform is called subFrmInvoiceLineButton on subform is called delRec2The following code does not work for some reason- Private Sub Check10_Click()If Check10.Value = 1 ThenMe.Form.subFrmInvoiceLine.delRec2.Visible = TrueEnd IfEnd Sub Thanks in advance for your help,Evan. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.