Hi,
I have diagram on a subform and the subform is placed on a TabControl. I want the diagram to be updated when I change page on the TabControl.
* TabControl is called tabOrders
* FrmDiagram is the name of the subform control
* FrmDiagram is the name of the form inside the subform
If I run:
=============================================
Private Sub tabOrders_Change
Forms![FrmGrund1]!Form.[FrmDiagram].Requery
End Sub
=============================================
..I'll get "Can't find field 'Form'" error 2465
If I change to:
Forms![FrmGrund1]!Form.[FrmDiagram].Requery
..nothing happens.
What can be wrong?
Kent J.
I have diagram on a subform and the subform is placed on a TabControl. I want the diagram to be updated when I change page on the TabControl.
* TabControl is called tabOrders
* FrmDiagram is the name of the subform control
* FrmDiagram is the name of the form inside the subform
If I run:
=============================================
Private Sub tabOrders_Change
Forms![FrmGrund1]!Form.[FrmDiagram].Requery
End Sub
=============================================
..I'll get "Can't find field 'Form'" error 2465
If I change to:
Forms![FrmGrund1]!Form.[FrmDiagram].Requery
..nothing happens.
What can be wrong?
Kent J.