continuous form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a continuous form with two fields on it, FieldA and FieldB. I need to
be able to set font styles for FieldA based on the value of FieldB for each
row in the form.

Something like:
If FieldB = "yes" then
Me.FieldA.FontBold = true
Else
Me.FieldA.FontBold = false
End If

I've put this code into the event OnCurrent and the code is executed only
once, not once for each row. I need the code executed for each row displayed.

Can anyone point me in the right direction please?

Thanks in advance for your help!
 
If you use A2000 or later, check Access Help on "Conditional Format".
 

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

Back
Top