Hi,
I am working on a Session Extension. I made a Custom Form Command that will open up a customized session upon executing the command. However, the system will do this for every record selected at that moment, which is where I would like to change.
I tried by putting the condition to check if the number.of.marks is 1 then execute it so that it will do only when 1 record is selected. The point is I need to put a message in else statement stating that the user selects more than 1 record when the situation happen.
The problem comes now in the else statement because it will pop out multiple messages according to the number of selected records.
Is there any workaround for this?
I just want it to work on 1 record only and display message when no record or more than 1 records are selected.
I am working on a Session Extension. I made a Custom Form Command that will open up a customized session upon executing the command. However, the system will do this for every record selected at that moment, which is where I would like to change.
I tried by putting the condition to check if the number.of.marks is 1 then execute it so that it will do only when 1 record is selected. The point is I need to put a message in else statement stating that the user selects more than 1 record when the situation happen.
The problem comes now in the else statement because it will pop out multiple messages according to the number of selected records.
Is there any workaround for this?
I just want it to work on 1 record only and display message when no record or more than 1 records are selected.
Code:
if number.of.marks = 1 then
. . .
{ Execute something once }
. . .
else
message("Select 1 record only.") | <--- Problem here when multiple records are selected
endif