hi i want to save either number 1 or 0 for my Owner field in my databass but the code that i have dose not do the job can someone help please?
thank youCode:If Me.btnOwner2.UseVisualStyleBackColor = False Then command.Parameters.AddWithValue("Owner", 1) Else command.Parameters.AddWithValue("Owner", 0) End If




Reply With Quote