Is it possible to detect (in code) if the user have selected a line so it turns blue vs. the line has no blue color only an arrow in front?
It looks like setselectionfilter can't seperate.
Is it possible to detect (in code) if the user have selected a line so it turns blue vs. the line has no blue color only an arrow in front?
It looks like setselectionfilter can't seperate.
Regards, Gunnar
If it helps, you can mark records and then detect them with MARKEDONLY function.
I'm sorry but marking records and then detect them with MARKEDONLY function is not good workaround for us.
Mattrax ask why I need this. I need to call a function from a form, and if a user have selected one or more lines in the subform, I will add information in these lines as parameter data to the function. If the user haven't selected any lines (no blue), I will not add any line information as parameter data.
My problem is of course that the subform-list always have at least one line "focused", so SETSELECTIONFILTER will claim it is selected.
Well if they don't want to select anything train them to click Cancel.
And if they click the X don't do anything.
When they do select OK you can take whatever records are selected or "selected"
Comments
Why do you need to know? There's probably a work around.
My Blog - nav.education
Mattrax ask why I need this. I need to call a function from a form, and if a user have selected one or more lines in the subform, I will add information in these lines as parameter data to the function. If the user haven't selected any lines (no blue), I will not add any line information as parameter data.
My problem is of course that the subform-list always have at least one line "focused", so SETSELECTIONFILTER will claim it is selected.
Any other workaround tip?
Regards, Gunnar
And if they click the X don't do anything.
When they do select OK you can take whatever records are selected or "selected"
My Blog - nav.education