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!

Search results for query: *

  • Users: LisetteR
  • Content: Threads
  • Order by date
  1. LisetteR

    How do I run a sub procedure when a form closes?

    Hello, beginner here. I want an Access database to be closed as a VB form is closed. Firstly I'm not sure how to call the procedure, I thought it would come under: Private Sub Form_Close() However nothing happens when I close the form, so I assume that is wrong. Secondly, I want the Access...
  2. LisetteR

    Opening an Access Database from VB

    Can anyone tell me why this doesn't work? I am new to VB but it seems to me that this should just work! It comes up with run time error 2486. Private Sub Command1_Click() Dim dbMyDB As Database Set dbMyDB = OpenDatabase("C:\TideWeather.mdb") DoCmd.OpenForm ("Start Sending") End Sub

Part and Inventory Search

Back
Top