I have a Form with a Tab Control
Tab Control has two Tabs called Permits and Notes
The two Tabs display a continous form with information from same record
If the the current reord in the subform has no notes (memNotes) I want to change the Notes caption to no notes.
I tried putting the following code in the SubForm
Private Sub Form_Current() If Len(Me.memNotes) > 0 Then Me.TabCtl0.Pages(1).Caption = "NOTES" Else Me.TabCtl0.Pages(1).Caption = "no notes" End If End Sub
I’m getting “Method or data member not found” error on TabCtl0
Me.TabCtl0.Pages(1).Caption = “NOTES”
How do I get this to work?
Thanks, John