Page 1 of 1

Function for setting filter in Browse

Posted: Wed Apr 15, 2009 8:22 am
by mol
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

Re: Function for setting filter in Browse

Posted: Wed Apr 15, 2009 12:02 pm
by esgici
Hi Marek
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.
Did you try release - re-define browse while setting / changing filter ?

Regards

--

Esgici

Re: Function for setting filter in Browse

Posted: Wed Apr 15, 2009 7:07 pm
by mol
I didn't try, maybe tomorrow I'll find some free time.
Marek