regnewby2465
Member
- Local time
- Today, 09:20
- Joined
- Sep 22, 2015
- Messages
- 58
MNewby I have a form named CAD_CallDispSplitF with a primarey key as ID in the underlying record source. The form has a command button, btn_addVehicle. I have another form named frm_CAD_CallerAndVehicle that has two subforms: frm_CADcaller and frm_CAD_Vehicles. The subforms are NOT on individual pages. Each subform is linked to the parent form on ID. Either through VBA or Macro, I need an On-Click event on the btn_addVehicle button to open form frm_CAD_CallerAndVehicle, and setfocus on the VehTop control on the frm_CAD_Vehicles subform. When I create an on-click event in macro or VBA, it opens the form where ID=ID but does not set the focus on a control. Thanks in advance. Mark |