Question : Parent form Subform firing order

I have a parent form and a subform. I have a control on the parent form that references a subform and when loading the parent initially it shows #error. When I click the + sign to open the subform the control gets populated with the data from the subform.

How do when opening the parent form intitally, have the control show the subform data and not #error?

Parent Form =  Frmproviders
   Control =  OrignialBill
Subform =  Frmrevcodebill
   Text Box =  Text53

on the parent form in the control I am using  =[Forms]![frmproviders]![frmRevcodeBill].[Form]![text53].

Answer : Parent form Subform firing order

You are using a subform in datasheet view, right? You need to manually open the subform using the little [+].

Before you click it, there is no subform. So the expression is really invalid, no way around that.

Once you have opened a subform, it will work, but not necessarily the way you wish. Several subform instances can be opened by clicking on several [+] symbols. Which subform will be active in that case?

If you need to retrieve information from the subform on the main form, do not use the datasheet view.

(°v°)
Random Solutions  
 
programming4us programming4us