Main Form verses Sub Form

R

Ronnie

BeginOfCode ----------
Private Sub Form_Load()
Me.SoftwareID = Forms![frm-Software Media Library].[SoftwareID]
Me.SavePrintClose.Visible = False ' We don't want to se the print button until all data is filled in
Me.CheckOutDateTime.SetFocus ' This really is not needed because we disabled Name so focus is already here
End Sub
EndOfCode ------------
This code works fine when using a main form but How do I make it work using a sub form as the source?
 
M

Marshall Barton

Ronnie said:
BeginOfCode ----------
Private Sub Form_Load()
Me.SoftwareID = Forms![frm-Software Media Library].[SoftwareID]
Me.SavePrintClose.Visible = False ' We don't want to se the print button until all data is filled in
Me.CheckOutDateTime.SetFocus ' This really is not needed because we disabled Name so focus is already here
End Sub
EndOfCode ------------
This code works fine when using a main form but How do I make it work using a sub form as the source?

Send key get stuck? I'm sure you didn't intend to send the
same post three times in less than one minute ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top