I have this in the on format event of my form. If the condition is true I want the report changed with the changes shown. If not I dont want anything changed. As it is the changes are always in effect the if doesn't seem to work. Any ideas?
If Me!StressProtocol = "Dobutamine" Then
Me!Minutes.Width = 4680
Me!BP.Left = 5640
Me!HR.Left = 6599.9
Me!Mets.Visible = False
Me!Grade.Visible = False
Me!MPH.Visible = False
If Me!StressProtocol = "Dobutamine" Then
Me!Minutes.Width = 4680
Me!BP.Left = 5640
Me!HR.Left = 6599.9
Me!Mets.Visible = False
Me!Grade.Visible = False
Me!MPH.Visible = False