I'm pulling data from an external (Advantage) database via ODBC and am trying to present an updatable form to the users.
All was well until I was asked to color code each records "status" in my continuous form to match the colors used in the retail software we use.
Conditional formatting would have been great, except there are 10 different status codes, with 10 different colors. Access 2003 seems to limit you to 3 conditional formats per field. I wrote some VB code that performs the function, but I don't know how to trigger it properly, or to make it reference each "status" field in the form individually. Presently, when loaded, it paints every 'status' field on the continuous form the same color as the first record should be. If you make a different record current, then all the 'status' fields switch to that color. How/when can I qualify individual records/fields on a cont. form and set the text color appropriate to that records 'status' value?
I searched the forums and found similar questions, but most were solved with conditional formatting + a VB macro. With me needing 10 color options depending on field value, I'm unsure how to procede.
Thank you
All was well until I was asked to color code each records "status" in my continuous form to match the colors used in the retail software we use.
Conditional formatting would have been great, except there are 10 different status codes, with 10 different colors. Access 2003 seems to limit you to 3 conditional formats per field. I wrote some VB code that performs the function, but I don't know how to trigger it properly, or to make it reference each "status" field in the form individually. Presently, when loaded, it paints every 'status' field on the continuous form the same color as the first record should be. If you make a different record current, then all the 'status' fields switch to that color. How/when can I qualify individual records/fields on a cont. form and set the text color appropriate to that records 'status' value?
I searched the forums and found similar questions, but most were solved with conditional formatting + a VB macro. With me needing 10 color options depending on field value, I'm unsure how to procede.
Thank you