EhLib.Com
https://forum.ehlib.com/en/

how to get filter command?
https://forum.ehlib.com/en/viewtopic.php?f=5&t=352
Page 1 of 1

Author:  quatra42 [ 29 Jul 2013, 04:23 ]
Post subject:  how to get filter command?

Can I take the filter command. After I did a filter on the data?

Author:  Administrator [ 29 Jul 2013, 08:46 ]
Post subject:  Re: how to get filter command?

Hello

What do you mean - "take the filter command"?

Best regards
Admin

Author:  quatra42 [ 29 Jul 2013, 13:06 ]
Post subject:  Re: how to get filter command?

in background process, After I did a filter on the data

in the background, after I did a filter on the data, there will be a command such as this filter

example

qry.Filter: = ('[region_desc]> =' + QuotedStr (Edit1.Text) + 'and [region_desc] <=' + QuotedStr (Edit2.Text));

Can I get command with bold and underline?

Author:  Administrator [ 29 Jul 2013, 13:34 ]
Post subject:  Re: how to get filter command?

Hello

If it is a local filter and the filter already applied then you can get it from the Filter property of the DataSet.

DBGridEh.DataSource.DataSet.Filter

Best regards
Admin

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/