Hi,
This is small but annoying problem that I just can't seem to get my head around, help! I have the following in my 'PcentNINO' Textbox control source:
=Format(Count([NINO])/[TotMisBensRecs],"0.00")+0
This gives me a calculated percentage figure that shows up in the above mentioned PcentNINO textbox, no problem!
But I want to change the PcentNINO field textcolour depending on the value returned to one of the following:
LightRed: <100%
LightGreen: =100%
How and in which form event do I put my code to ensure that the calculation is done first before it changes the colour?
Unfortunately, I can't use 'Conditional Formatting' as this is an old Access 97 database that isn't going to be upgraded anytime soon!
Thank you in advance
This is small but annoying problem that I just can't seem to get my head around, help! I have the following in my 'PcentNINO' Textbox control source:
=Format(Count([NINO])/[TotMisBensRecs],"0.00")+0
This gives me a calculated percentage figure that shows up in the above mentioned PcentNINO textbox, no problem!
But I want to change the PcentNINO field textcolour depending on the value returned to one of the following:
LightRed: <100%
LightGreen: =100%
How and in which form event do I put my code to ensure that the calculation is done first before it changes the colour?
Unfortunately, I can't use 'Conditional Formatting' as this is an old Access 97 database that isn't going to be upgraded anytime soon!
Thank you in advance