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
Function for setting filter in Browse
Moderator: Rathinagiri
Function for setting filter in Browse
- Attachments
-
- definefilter.zip
- (4.92 KiB) Downloaded 1015 times
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Function for setting filter in Browse
Hi Marek
Regards
--
Esgici
Did you try release - re-define browse while setting / changing filter ?mol wrote: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.
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: Function for setting filter in Browse
I didn't try, maybe tomorrow I'll find some free time.
Marek
Marek