Question : How update Yes/No filed in a table using a form

I have a form which contains a combo box.  The combo box uses a query bound to a table which contains a yes/no field.  The combo box only display records in the table that have the yes/no filed set to True.  There is also an after update event of the combo box which makes a checkbox on the form checked when the record is selected in the combo box.  I want the user to be able to UNcheck the checkbox and therfore mark the yes/no field in the table false.  What is the VBA code for the after update event of the checkbox on the form?  Or should this code be in an on change event?

Answer : How update Yes/No filed in a table using a form

The only logical explanation is:
Switch with "cases" is similar to an GOTO label, so when you b declaration and initialization has never happend for this program, I think it's printing rubbish from the memory, because there is no other explanation.

Try compiling it with BCC32(an ANSI C compiler).
You should give us the compiler you are using.
Random Solutions  
 
programming4us programming4us