using 'bold' in a continuous form

T

terry w

I have a bound subform that shows records in continuous view. The first
field is txtEmpID. Another field is txtGroup. If txtGroup has the focus,
I'd like the corresponding value of txtEmpID to be 'bold'. I tried using
'txtEmpID.fontbold = True' in txtGroup's Got Focus event, but this 'bolds'
txtEmpID in all records.

I'd appreciate any clues
Terry
 
A

Allen Browne

Assuming Access 2000 or later, you can use Conditional Formatting. You can't
use code, because the code does affect all rows.

Right-click the control in form design view to set up CF.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top