G
Guest
I posted this in "access forms" rather than here. Sorry.
I have a form called 'Tabs'. On this form I have a two page "Tab Control".
On "Page1" I have a form called 'Bank'. On the 'Bank' form I have a field
called 'Creditor'.
On the original 'Bank' form, I have the following working code:
If Forms![Bank]![Creditor] = False Then
[Debit_Label].Caption = "Debits"
[Credit_Label].Caption = "Credits"
Else
[Debit_Label].Caption = "Charges"
[Credit_Label].Caption = "Payments"
End If
I have moved the 'Bank' form to the 'Page1' tab of the 'Tab Control'. When I
open the 'Tabs' form, the codes fails and reports that it can't find the
field 'Bank'.
How do I reference the field 'Creditor' which is now on a tab control called
page1 in a form called 'Bank'?
I have a form called 'Tabs'. On this form I have a two page "Tab Control".
On "Page1" I have a form called 'Bank'. On the 'Bank' form I have a field
called 'Creditor'.
On the original 'Bank' form, I have the following working code:
If Forms![Bank]![Creditor] = False Then
[Debit_Label].Caption = "Debits"
[Credit_Label].Caption = "Credits"
Else
[Debit_Label].Caption = "Charges"
[Credit_Label].Caption = "Payments"
End If
I have moved the 'Bank' form to the 'Page1' tab of the 'Tab Control'. When I
open the 'Tabs' form, the codes fails and reports that it can't find the
field 'Bank'.
How do I reference the field 'Creditor' which is now on a tab control called
page1 in a form called 'Bank'?