Hiding text in group header

  • Thread starter Thread starter mathieu.genois
  • Start date Start date
M

mathieu.genois

Hi!
I have a report who list data groups by Machine platform (Windows,
Unix, Central, etc.), Server and Security Priviledge.

But when the platform is equal to Central, i don't want to display the
server label and his value.

So i put this in the Header Format
If Me.IdPlateforme = "Central" Then

Serveurs_Description.Visible = False
Serveurs_Nom.Visible = False
Étiquette38.Visible = False
End If


It work tooo good. Even when IdPlateforme = "Windows" or else,
Serveurs_description, serveurs_nom and Étiquette38 ARE ALWAYS HIDDEN
(sorry for the caps but it make me go crazy.)

Anyone have a solution?

Thanks!

Mathieu Genois
 
If I'm reading your code correctly, you've told Access when to turn it off.
Where do you tell Access when to turn it (back) on?

Regards

Jeff Boyce
<Office/Access MVP>

Hi!
I have a report who list data groups by Machine platform (Windows,
Unix, Central, etc.), Server and Security Priviledge.

But when the platform is equal to Central, i don't want to display the
server label and his value.

So i put this in the Header Format
If Me.IdPlateforme = "Central" Then

Serveurs_Description.Visible = False
Serveurs_Nom.Visible = False
Étiquette38.Visible = False
End If


It work tooo good. Even when IdPlateforme = "Windows" or else,
Serveurs_description, serveurs_nom and Étiquette38 ARE ALWAYS HIDDEN
(sorry for the caps but it make me go crazy.)

Anyone have a solution?

Thanks!

Mathieu Genois
 
duh...
Sorry, i'm new to access! It works great!! Thanks for the info!!
Greatly appreciated!

Mathieu
 
Back
Top