SQL1.ExecNonQuery2("UPDATE DailyStats SET DteTme = ?, Carbs = ?, Protein = ?, Fat = ?, Cals = ?, Apidra = ?, Lantus = ?, BG = ?, BGtsts = ? WHERE ID = ?",Array As String(TotCarb, TotProt, TotFat, TotCals, TotApidra, TotLantus, AveBG, TotBGtsts, UrecID))
no error and no update.... i attempted this with and without various spacing alternatives as in the above and the below but neither alternative registers a syntax error and neither actually changes the data in the table
SQL1.ExecNonQuery2("UPDATE DailyStats SET DteTme=?, Carbs=?, Protein=?, Fat = ?, Cals=?, Apidra=?, Lantus=?, BG=?, BGtsts=? WHERE ID=?",Array Atring(TotCarb,TotProt,TotFat,TotCals,TotApidra,TotLantus,AveBG, TotBGtsts,UrecID))
UrecID is defined as int, the user record id DOES have the correct value when the update is attempted.... do i perhaps need to read the record IMMEDIATELY before attempting the update? i am baffled and have spent an entire day trying alternatives without success
no error and no update.... i attempted this with and without various spacing alternatives as in the above and the below but neither alternative registers a syntax error and neither actually changes the data in the table
SQL1.ExecNonQuery2("UPDATE DailyStats SET DteTme=?, Carbs=?, Protein=?, Fat = ?, Cals=?, Apidra=?, Lantus=?, BG=?, BGtsts=? WHERE ID=?",Array Atring(TotCarb,TotProt,TotFat,TotCals,TotApidra,TotLantus,AveBG, TotBGtsts,UrecID))
UrecID is defined as int, the user record id DOES have the correct value when the update is attempted.... do i perhaps need to read the record IMMEDIATELY before attempting the update? i am baffled and have spent an entire day trying alternatives without success