changing arguments on form

  • Thread starter Thread starter Lodewijk Olthof
  • Start date Start date
L

Lodewijk Olthof

I have a form which I open with OpenArgs="READ" or OpenArgs="WRITE".

If OpenArgs="READ", then the values of all the fields have to be changed so
that Enabled=False and Locked=True.
If OpenArgs="WRITE", then the values of all the fields have to be changed so
that Enabled=True and Locked=False.

Obviously I can make one of the options as standard, but how can I perform
this in an easy way for all the fields on a form?


Hoe kan ik dit op een eenvoudige wijze doen?
 
Lodewijk Olthof said:
I have a form which I open with OpenArgs="READ" or OpenArgs="WRITE".

If OpenArgs="READ", then the values of all the fields have to be changed so
that Enabled=False and Locked=True.
If OpenArgs="WRITE", then the values of all the fields have to be changed so
that Enabled=True and Locked=False.

Obviously I can make one of the options as standard, but how can I perform
this in an easy way for all the fields on a form?


Hoe kan ik dit op een eenvoudige wijze doen?

Much easier to change the form's AllowEdits, AllowAdditions and
AllowDeletions properties.
 
Back
Top