Is there a way I can open an Access database and close my VB application on the click of a button?
Just in case this creates any confusion I do not mean reading data from the database in VB, I mean physically open Access and the specific database and close my VB application
Thanks
(with VB5)
I am trying to make an application that can add, edit and delete data to, in and from a database, but I am having problems with the my adding and editing subroutines
here is my adding code:
Sub subAdd()
strWhere = ""
strSubject = "SELECT Subject.SubjectID...
I have 3 comboboxes and intend to have code that when a button (cmdSearch) is clicked will read the data from the comboboxes and dynamically create a query, here is my function:
Private Function fncGenerateQuery() As Boolean
Dim strSQL As String
Dim qdfTemp As QueryDef
Dim strWhere As String...
I am trying to set up a form with 2 comboboxes and a textbox, plus a query to use the data from these boxes to search the database.
I have tried the following SQL statement for my query:
SELECT Teacher.TeacherID, Teacher.TeacherName
FROM Teacher
WHERE (((Teacher.[TeacherName...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.