B
Bradparsons
Guest
I am trying to get the tabs on a Tab Control form to pull there titles (captions) from a table that stores information about a paticular job. This is what I have tried. It does display anything that is placed in the "", but it does not try to return the info from the Table
Private Sub Form_Open(Cancel As Integer)
Dim StrArea1 As String
Dim StrArea2 As String
StrArea1 = "[TableName].[FieldName]"
StrArea2 = "Sect_01_Info_Tbl.Client_Name"
Area1.Caption = StrArea1
Area2.Caption = StrArea2
End Sub
StrArea1 currently returns a tab with the title "[TableName].[FieldName]" .
Thanks
Bradp
Private Sub Form_Open(Cancel As Integer)
Dim StrArea1 As String
Dim StrArea2 As String
StrArea1 = "[TableName].[FieldName]"
StrArea2 = "Sect_01_Info_Tbl.Client_Name"
Area1.Caption = StrArea1
Area2.Caption = StrArea2
End Sub
StrArea1 currently returns a tab with the title "[TableName].[FieldName]" .
Thanks
Bradp