Jul 2, 2002 #1 cac2 Programmer May 7, 2002 7 US How can I put a control (checkbox) on a form that puts the info in a different table than the one that the form is built on?
How can I put a control (checkbox) on a form that puts the info in a different table than the one that the form is built on?
Jul 2, 2002 #2 FoxProProgrammer Programmer Apr 26, 2002 967 US You could create a recordset based on the other table and store the value. Dim db as Database Dim rs as Recordset Set db = CurrentDb Set rs = db.OpenRecordset("OtherTableName", dbOpenDynaset) rs.Edit rs!checkboxname = value rs.Update rs.Close db.Close Upvote 0 Downvote
You could create a recordset based on the other table and store the value. Dim db as Database Dim rs as Recordset Set db = CurrentDb Set rs = db.OpenRecordset("OtherTableName", dbOpenDynaset) rs.Edit rs!checkboxname = value rs.Update rs.Close db.Close