Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

How make labels NOT visible if new record on a form

I have two labels I want to not be visible when a form opens for a new record entry.

How can I do this?
SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13

ASKER

Actually one is a label and one is a combobox.  I tried this but they are both still visible when the form opens for a new record.

    Me.Combo125.Visible = Not Me.NewRecord
    Me.FindRecordLabel.Visible = Not Me.NewRecord
Try the code in Current event.
are you sure the form is on new record?
try also the load event of the form