So i have a form with combo boxs,textboxes...and i want those values inserted in a table called "DEPENDENTS". here is the code i have, but its just not inserting the values...
Private Sub cmdAddDependent_Click()
Dim sSql As String
Dim dbThis As Database
'
Set dbThis = Access.CurrentDb
sSql =...
So i have a form with combo boxs,textboxes...and i want those values inserted in a table called "DEPENDENTS". here is the code i have, but its just not inserting the values...
Private Sub cmdAddDependent_Click()
Dim sSql As String
Dim dbThis As Database
'
Set dbThis = Access.CurrentDb
sSql =...
All that i'm trying to do is INSERT values from a form into a table called "DEPENDENTS" using access/sql...its just not updating my table...here is the code..PLEASE HELP
Private Sub cmdAddDependent_Click()
Dim sSql As String
Dim dbThis As Database
'
Set dbThis = Access.CurrentDb
sSql =...
changed my code to this, and it still doesnt update my table...
Private Sub cmdAddDependent_Click()
Dim sSql As String
Dim dbThis As Database
'
Set dbThis = Access.CurrentDb
sSql = "INSERT INTO DEPENDENTS VALUES('" & cboAssociate2.Value & "','" & cboAssociate2.Value & "', '" &...
All that i'm trying to do is INSERT values from a form into a table called "DEPENDENTS" using access/sql...here is the code..PLEASE HELP
Private Sub cmdAddDependent_Click()
Dim sSql As String
Dim dbThis As Database
'
Set dbThis = Access.CurrentDb
sSql = "INSERT INTO DEPENDENTS VALUES('" &...
So i have a Combo Box that displays all employees from "Query1" on "Form1" and within that "Query1" is fields "Birthdate","Emp_id","Emp_Name". I also have a textbox on that "Form1". I have the combo box displaying all the employees fine, but what i want to do is when you select a employee from...
Hey everybody i'm trying to reference a table field directly in a query by design with this code:
[mytable]![myfield]
there is only one row and will always be one row.
Can this work??
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.