Hi
Where this code is written.
Lookupmode ok : means if on lookup user press ok then it will exit ...till then it wait for response
This return code tells you what action the user took.
Also look in to help of FORM.RUNMODAL (Form)
ItemList.LOOKUPMODE(TRUE);
Sets the mode to lookup
IF ItemList.RUNMODAL = ACTION::LookupOK THEN BEGIN
If the user presses OK button then
Text := ItemList.GetSelectionFilter;
Run the GetSelectionFilter function of the form so that Text contains something like this: Item1|Item2|Item34
or like this: Item1..Item32
So it builds a filter with for the records that the user has selected (Highlighted)
EXIT(TRUE);
Exit the function returning TRUE
END;
Comments
Where this code is written.
Lookupmode ok : means if on lookup user press ok then it will exit ...till then it wait for response
This return code tells you what action the user took.
Also look in to help of FORM.RUNMODAL (Form)
Sets the mode to lookup
IF ItemList.RUNMODAL = ACTION::LookupOK THEN BEGIN
If the user presses OK button then
Text := ItemList.GetSelectionFilter;
Run the GetSelectionFilter function of the form so that Text contains something like this: Item1|Item2|Item34
or like this:
Item1..Item32
So it builds a filter with for the records that the user has selected (Highlighted)
EXIT(TRUE);
Exit the function returning TRUE
END;
I am Trying to filter the records. In that i have student name,standard,section
Now i have a master table from that i should filter the record by Student name,or standard or section.
But wen i am selecting the student name its fetching the standard and section also.
The standard and section name should be empty still they press the look up button.