Function for setting filter in Browse
Posted: Wed Apr 15, 2009 8:22 am
For last week I wrote procedure to define filter on database displayed in BROWSE.
I wanna put some code. It works, and I think it has no errors - but you know, it is not possible.
I put some commentar in source in English and named the most of variables in English - some of them stayed in Polish.
What you must do to to test it?
Simply define button or option in context menu of browse and set action to UstawFiltr(cBrowseName) function
Remember to define status bar item 1 in window which contains browse - after setting filter, you will see filter indicator 'FILTR', if you click on it, you will get message with current filter condition.
During definition of conditions, you can change connectors between conditions by clickink it in the grid.
I think, it will be useful for someone.
Please, put your comments.
Best regards, Marek
I wanna put some code. It works, and I think it has no errors - but you know, it is not possible.
I put some commentar in source in English and named the most of variables in English - some of them stayed in Polish.
What you must do to to test it?
Simply define button or option in context menu of browse and set action to UstawFiltr(cBrowseName) function
Remember to define status bar item 1 in window which contains browse - after setting filter, you will see filter indicator 'FILTR', if you click on it, you will get message with current filter condition.
During definition of conditions, you can change connectors between conditions by clickink it in the grid.
I think, it will be useful for someone.
Please, put your comments.
Best regards, Marek