form popup

W

Warrio

Hello!

Why this command is not allowed by Access?
Form_Main.PopUp = False ' (And True neither)

Access shows the following message: Err2448, "You can't assign this value to
this object."

Thanks for any suggestion!
 
W

Warrio

So is the MS help wrong when it states that it's a read/write property and
shows this example:?
Forms("myFrom").PopUp = True
Forms("myForm").Modal = True

Thanks again!
 
V

Van T. Dinh

It is correct. This is a Read/Write Property but it can only be written to
in Design View of the Form.

Read further down in the Help topic (in the Remarks section) and you will
find what I wrote.
 
W

Warrio

Thanks for you help Van!


Van T. Dinh said:
It is correct. This is a Read/Write Property but it can only be written
to in Design View of the Form.

Read further down in the Help topic (in the Remarks section) and you will
find what I wrote.
 
Top