DEFINING PARAMETERS

KEYWORD PARAMETER :

Is a keyword that specify report parameters. these can enter value through parameters. The user can enter value through parameters displayed on the selection screen.

Name of the parameter can be up to 8 characters long .

We can enter a description for each parameter by 

Go To ----> Text Elements and selecting Selection Text

For Example :

parameter : name(10) type c .

write name .


Defining Checkbox and Radiobuttons:

  • Radiobuuton
parameters :  r1 radiobutton Group g1,
                    r2 radiobutton Group g1 .
if r1 = 'X' 
  write 'Male' .
else 
  write 'Female'
endif.

Here we can give any name of radiobutton and group. And any number of radiobutton.

  • Checkbox
parameters : c1 as checkbox,
                   c2 as checkbox.

c2 as checkbox default 'X' .

Here we can give selection text for the checkboxes to improve user understanding of  what is asked.

No comments:

Post a Comment