|
|
Function RegD() pf1 = Forms!Main!_: pf2 = Forms!Main! Set ctl = Forms!Main!_ Set ct2 = Forms!Main! If IsNull(pf1) = True Then MsgBox " !" DoCmd.GoToControl ctl.Name Else If IsNull(pf2) = True Then MsgBox " !" DoCmd.GoToControl ct2.Name Else End If End If End Function
http://www.sql.ru/forum/1114254/obyazatelnye-polya-v-podchinyonnyh-formah