I'm trying to make two fields, [RELATEDTO] & [RELNAME] populate automaticly at the same time when field name [ACCOUNT] is entered by a user.
In the form "Transaction Log" in the field [ACCOUNT] I have created a event procedure in After Update (see below code). Which populates automaticly [RELATEDTO] from table "CIF ACCOUNTS" but I'm having trouble getting to populated the second field [RELNAME]. Any help would be greatly appreciated.
Private Sub ACCOUNT_AfterUpdate()
Me.RELATEDTO = Me.ACCOUNT.Column(1)
End Sub
In the form "Transaction Log" in the field [ACCOUNT] I have created a event procedure in After Update (see below code). Which populates automaticly [RELATEDTO] from table "CIF ACCOUNTS" but I'm having trouble getting to populated the second field [RELNAME]. Any help would be greatly appreciated.
Private Sub ACCOUNT_AfterUpdate()
Me.RELATEDTO = Me.ACCOUNT.Column(1)
End Sub