Hi,
I have tried to do this before but had to go a really complicated route round to get what I wanted... but I was hoping access 2007 had a nicer solution to my problem...!
Basically, I have a continuous form with 20 or so fiends in each record. (It looks like a register)
What i need to be able to do is highlight every field (in each record individually) which is different from a certain field in a different table (i.e. I make a copy of the source table weekly & I need to higlight the changes that have happened since that copy was taken)
I have the following very simple bit of code, which highlights fine, but it highlights EVERY record, even if only the 1st one is different:
Dim strCriteria As String
strCriteria = "[ProjectNo] = " & Me.Project & " and [Rev] = " & Me.Rev
If Me.Name= DLookup("[Name]", "TblLastVersion", strCriteria) Then
Else
Me.Name.BackColor = RGB(204, 238, 230)
End If
Any ideas if 2007 solved this problem?!
Thank you
I have tried to do this before but had to go a really complicated route round to get what I wanted... but I was hoping access 2007 had a nicer solution to my problem...!
Basically, I have a continuous form with 20 or so fiends in each record. (It looks like a register)
What i need to be able to do is highlight every field (in each record individually) which is different from a certain field in a different table (i.e. I make a copy of the source table weekly & I need to higlight the changes that have happened since that copy was taken)
I have the following very simple bit of code, which highlights fine, but it highlights EVERY record, even if only the 1st one is different:
Dim strCriteria As String
strCriteria = "[ProjectNo] = " & Me.Project & " and [Rev] = " & Me.Rev
If Me.Name= DLookup("[Name]", "TblLastVersion", strCriteria) Then
Else
Me.Name.BackColor = RGB(204, 238, 230)
End If
Any ideas if 2007 solved this problem?!
Thank you