hi,
the code doesnt work. my datagrid displays empty data.
01-10-2006 at 03:22 PM
|
yronium Level: Moderator Registered: 14-04-2002 Posts: 907
Re: master, how can i disable my filter?
What code are you using to set the filter on? If you have set the Filter property of whatever to an SQL criteria, you have to set the same Filter property to an empty string in order to remove the filter. This method works either if you linked the datagrid on a recordset, or if you linked it on an ADODC control, or else: wherever you have set before the Filter property you have to put an empty string, with something like:
(...whatever you used...).Filter = "".
Hope it helps, otherwise, post the code you use to link the datagrid.
[Edited by yronium on 01-10-2006 at 06:36 PM GMT]
____________________________
Real Programmer can count up to 1024 on his fingers