Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dtippin

  1. dtippin

    How to get focus on the main form from a sub form

    This is the beginning of my Before Update event Private Sub Form_BeforeUpdate(Cancel As Integer) If Me.Dirty Then intReturn = MsgBox("Do you want to save the changes?", vbYesNoCancel) Select Case Response Case vbYes ' do nothing Case vbNo ' Undo the changes...
  2. dtippin

    How to get focus on the main form from a sub form

    I have three fields on my main form. When I Click on the X at any point I validate all of those fields, they are all required, and I don't want to put that validation at the database level, so I validate those fields in the beforeupdate event...but if any of those three fields on the main form...
  3. dtippin

    How to get focus on the main form from a sub form

    I'm exiting my form by using the windows X, I've validated some data in my beforeupdate event and I've found that I don't have the data elements I need filled in on my main form. I need to set focus back to a field on my main form...how do I do this forms![from name]![form field].setfocus gives...

Part and Inventory Search

Back
Top