Hi I'm new to programming in C/AL. I have a page which you can select either Two sided or NA for different types of printing. What do I need to add to provide a action for when NA is Selected. I've defined the variables as gblnTwoSided and gblnNA. Only one can be selected and if neither are it defaults to One side printing (Don't need help surrounding that)
IF "SMT No. Of Sides" = "SMT No. Of Sides" :: TWO THEN
BEGIN
gblnTwoSided:= TRUE;
END
ELSE IF "SMT No. Of Sides" = "SMT No. Of Sides" :: NA THEN
BEGIN
gblnNA := TRUE;
END
ELSE
BEGIN
..do code for default One Sided
END;
IF "SMT No. Of Sides" = "SMT No. Of Sides" :: TWO THEN
BEGIN
gblnTwoSided:= TRUE;
END
ELSE IF "SMT No. Of Sides" = "SMT No. Of Sides" :: NA THEN
BEGIN
gblnNA := TRUE;
END
ELSE
BEGIN
..do code for default One Sided
END;
Answers
Do you mean this..