T
Ted James
Eheh umm I deviated from my "proper" naming structure and
named a label "AccountType" which is the name of a record
in the record set. So the line
Forms!frmDataInput!subAccount.Form!AccountType = DLookup
("[AccountType]", "tblAccountTypes", "[AccountID]= '" &
Right(Forms!frmDataInput!subAccount.Form!AccountNumber,
1) & "'")
Caused problems.
Forms!frmDataInput!subAccount.Form!lblAccountType.Caption
= DLookup("[AccountType]", "tblAccountTypes", "[AccountID]
= '" & Right(Forms!frmDataInput!subAccount.Form!
AccountNumber, 1) & "'")
Works since it no longer confuses the program with the
control and the recordset having the AccountType
similarity.
named a label "AccountType" which is the name of a record
in the record set. So the line
Forms!frmDataInput!subAccount.Form!AccountType = DLookup
("[AccountType]", "tblAccountTypes", "[AccountID]= '" &
Right(Forms!frmDataInput!subAccount.Form!AccountNumber,
1) & "'")
Caused problems.
Forms!frmDataInput!subAccount.Form!lblAccountType.Caption
= DLookup("[AccountType]", "tblAccountTypes", "[AccountID]
= '" & Right(Forms!frmDataInput!subAccount.Form!
AccountNumber, 1) & "'")
Works since it no longer confuses the program with the
control and the recordset having the AccountType
similarity.