Hello
I set the order of by subform data by clicking on a subform label :
Me.OrderBy = "[data] Asc"
Me.OrderByOn = True
but, I would prefer to do it, from the main form by clicking on a command button. Like this, wich does not work :
Me.OrderBy = "Forms!frmMyMain.frmMySub.Form![data] Asc"
Me.OrderByOn = True
any thoughts about this
thanks
I set the order of by subform data by clicking on a subform label :
Me.OrderBy = "[data] Asc"
Me.OrderByOn = True
but, I would prefer to do it, from the main form by clicking on a command button. Like this, wich does not work :
Me.OrderBy = "Forms!frmMyMain.frmMySub.Form![data] Asc"
Me.OrderByOn = True
any thoughts about this
thanks