Why doesn't this line of code work?
DoCmd.RunSQL ("UPDATE tbltransactions SET tbltransactions.ynTicketConsumed = true WHERE tbltransactions.strticket = varTicketValue")
It opens an Inputbox asking for the value of "varTicketValue".
"varTicketValue" is declared Public as Variant and then is set just prior to running the SQL. I have verified that the variable is being properly set displaying it in a text box. If I input the proper value the Update query works correctly.