Good Morning All,
I have a subform that is linked to a "notes" table. What I need to happen is if one of the notes is like "*Approved*" then the notes_field on the subform turns green.
I have tried the conditional formatting setting that Access 2007 provides but I am thinking I may need to go VBA on this one.
I have tried a variety of code but can you tell me if I am on the tight path?
If instr([Forms]![TblNotes Subform]![Notes_Field],"*Approved*") > 0 then
[Forms]![TblNotes Subform]![Notes_Field].backcolor = vbgreen
end if
It would be AWESOME if I could get just the word to highlight in a color as opposed to the whole string but I am not sure if that is possible.
Thank you all!
Tallman
I have a subform that is linked to a "notes" table. What I need to happen is if one of the notes is like "*Approved*" then the notes_field on the subform turns green.
I have tried the conditional formatting setting that Access 2007 provides but I am thinking I may need to go VBA on this one.
I have tried a variety of code but can you tell me if I am on the tight path?
If instr([Forms]![TblNotes Subform]![Notes_Field],"*Approved*") > 0 then
[Forms]![TblNotes Subform]![Notes_Field].backcolor = vbgreen
end if
It would be AWESOME if I could get just the word to highlight in a color as opposed to the whole string but I am not sure if that is possible.
Thank you all!
Tallman