I am just trying something easy, but running into an issue here is the code
Basically, I am just trying to insert a field from a form, if the checkbox next to it is checked. I am using a query off a table to populate the form, and inserting it into another table called Metrics.
What the hay am I doing wrong here?
Code:
Dim SQL_Text as String
SQL_Text = "Insert Into Metrics (State) Values ('"& me.State & "')"
SQL_Text = SQL_Text & "Where (Me.Checkbox ='" & True & "');"
Basically, I am just trying to insert a field from a form, if the checkbox next to it is checked. I am using a query off a table to populate the form, and inserting it into another table called Metrics.
What the hay am I doing wrong here?
Last edited: