Hello, I have looked all of the internet and read about conditional formatting on a continuous form, but I still have some questions, as I am not able to get it to work.
Basically I have a continuous form that lists data from two tables. These two tables are identical, it's just that one has the "old" information in it, and the other has the "new" information in it. They are linked together by a key named corpID. On my continuous form, I have a series of boxes listing all of the Old information. For the control source of these textboxes, I use the DLOOKUP function. The reason I do this is because I want the people to be able to alter the "New" info table still. So I needed the form to reference only one table.
Then I have the exact same number of text boxes who's control source is linked to the "New" table.
So for reference, my form looks something like this...
corpID: [corpID from New Table, read only]
Current--
[=DLookUp for First Name on CorpID, read only] [=DLookUp for Last Name on CorpID, read only]
New--
[Control Source linked to FirstName in New table, editable] [Control Source linked to LastName in New table, editable]
Hopefully you are with me so far. What I want to do is bold the "New" textboxes when they are different than the "Old" information. So pseudo code, something like this:
I've tried going into conditional formatting and do exactly this:
1. Highlight the NewFirstName field
2. click FORMAT, CONDITIONAL FORMATTING
3. Set condition one so that 'Field Value Is' 'Not Equal to' '[OldFirstName].Text'
This does not work.
Does anyone have any idea why this does not work? Is it because of the DLookup as the control source? Or what? Or is there any other way to bold the different fields?
Thanks in advance!
Basically I have a continuous form that lists data from two tables. These two tables are identical, it's just that one has the "old" information in it, and the other has the "new" information in it. They are linked together by a key named corpID. On my continuous form, I have a series of boxes listing all of the Old information. For the control source of these textboxes, I use the DLOOKUP function. The reason I do this is because I want the people to be able to alter the "New" info table still. So I needed the form to reference only one table.
Then I have the exact same number of text boxes who's control source is linked to the "New" table.
So for reference, my form looks something like this...
corpID: [corpID from New Table, read only]
Current--
[=DLookUp for First Name on CorpID, read only] [=DLookUp for Last Name on CorpID, read only]
New--
[Control Source linked to FirstName in New table, editable] [Control Source linked to LastName in New table, editable]
Hopefully you are with me so far. What I want to do is bold the "New" textboxes when they are different than the "Old" information. So pseudo code, something like this:
Code:
if NewFirstName not equal to OldFirstName Then
bold the NewFirstName
end if
I've tried going into conditional formatting and do exactly this:
1. Highlight the NewFirstName field
2. click FORMAT, CONDITIONAL FORMATTING
3. Set condition one so that 'Field Value Is' 'Not Equal to' '[OldFirstName].Text'
This does not work.
Does anyone have any idea why this does not work? Is it because of the DLookup as the control source? Or what? Or is there any other way to bold the different fields?
Thanks in advance!