REQUERY , Cmd.Close. , , .
DoCmd.Close
Forms![Form_Name]![Combo_Box_Name].Requery
Dim id As Integer
id = Me.[Index_Field]
DoCmd.Close
Forms![Form_Name]![Combo_Box_Name].Requery
Forms![Form_Name]![Combo_Box_Name] = id
, .
let's say that you save School_Index and School_Name in the school table and refer to it in the Student table (which contains only the School_Index field). while you are editing a student, you need to associate it with a school that is not in your school chart, etc. etc.
source
share