I have a form which has three variables, 2 text box string variables (strMembershipType & strIsType) and one checkbox boolean value (chkPayingMember) this can be True or False.
These represent values in an underlying table, fields Membership_Type (text), Membership_Code(text), Paying_Member(True/False)
Using data entered into the form I am trying to create an SQL INSERT string.
strSQL = "INSERT INTO tbl_Members (Membership_Type,Membership_Code, Paying_Member VALUES ('" & strMembershipType & "','" & strIsType & "',WHAT GOES HERE)"
I think I've tried every combination of single and double quote without success, all I want is for the last item to say True or False. It stubbornly refuses to do this constantly returning the variable name as a literal rather than a value.
Help gratefully received