P
Paul
I seem to be going around in circles with this any help would be gratefully
appreciated
I am trying to format a field on a tabular form based on the unique number
being equal in another table
I am using the following code
If DLookup("[Acct]", "Monitor", "[Account]=forms!Monitor_Collect![Account]")
Then
Me!Account.ForeColor = 255
Else
Me!Account.ForeColor = 0
End If
I am putting this in the on load event of a tabular form called
Monitor_Collect comparing the account number to those in a table called
Monitoring
What I am finding is that all the account numbers now appear in Red
If I put the code in another property setting for the form no result
I am doing something wrong with this but cannot see any other method of
getting a result
Thank you
appreciated
I am trying to format a field on a tabular form based on the unique number
being equal in another table
I am using the following code
If DLookup("[Acct]", "Monitor", "[Account]=forms!Monitor_Collect![Account]")
Then
Me!Account.ForeColor = 255
Else
Me!Account.ForeColor = 0
End If
I am putting this in the on load event of a tabular form called
Monitor_Collect comparing the account number to those in a table called
Monitoring
What I am finding is that all the account numbers now appear in Red
If I put the code in another property setting for the form no result
I am doing something wrong with this but cannot see any other method of
getting a result
Thank you