Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Synchronization of two subforms

Status
Not open for further replies.
Nov 6, 2002
89
CH
Hello there

I have two subforms (both continuing subforms) which I try to synchronize (the table selected in subform 1 should be automatically selected in subform 2 as well).

In subform 1 (ProductDetails), Users enter data. In subform 2 (DistributionCapacities), no data can be entered.

I tried to use the following code to get the synchronization done.

Private Sub Form_Current()
Set Periode.ProductDetails.Form.Recordset = Periode.DistributionCapacities.Form.Recordset (all on one line)
End Sub

However, this does not work. MS Access brings the following error message when the form is opening:

Error 424
object required

Do you have any ideas, what is wrong? What has to be noticed that the synchronization works?

Thanks

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top