Option field setrange

PagotPagot Member Posts: 3
Is there a way to avoid having to repeat several code lines if the value of an option field can be eg. all values except one. It seems not to work with "<>" or "%1|%2"?


Record.setrange("Option Field",Record."Option Field"::option1);
..

Record.setrange("Option Field",Record."Option Field"::option2);
..

Thanks,

Comments

Sign In or Register to comment.