Hi,
I've got a problem with a modal form. From my main class I call the form frmLoginBack and than I get the error:
The TO clause can only be used with modal Forms and FormSets.
The WindowStyle of the form is 1 - Modal.
I called the form by:
DO FORM frmLoginBack TO THIS.oUser
I've tried a few things, but they all didn't work.
Things tried:
- thisform.show(1) <== I've put in the load event of the form.
- Calling the form by:
DO FORM frmLoginBack TO THIS.oUser NOSHOW
login.show(1)
I don't know what little thing I'm missing here???
Thanks,
Charl
I've got a problem with a modal form. From my main class I call the form frmLoginBack and than I get the error:
The TO clause can only be used with modal Forms and FormSets.
The WindowStyle of the form is 1 - Modal.
I called the form by:
DO FORM frmLoginBack TO THIS.oUser
I've tried a few things, but they all didn't work.
Things tried:
- thisform.show(1) <== I've put in the load event of the form.
- Calling the form by:
DO FORM frmLoginBack TO THIS.oUser NOSHOW
login.show(1)
I don't know what little thing I'm missing here???
Thanks,
Charl