Subject Re: [IBO] SearchMode and Events
Author Jason Wharton
I use the SQLWhereChanged property in the AfterOpen event to tell if there
is search criteria applied or not.

I'd rather not get the AfterCancel and AfterPost involved in the dssSearch
mode stuff.

Do others have any comments about this?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Harald Klomann" <nibler@...>
To: "IBO" <IBObjects@egroups.com>
Sent: Wednesday, December 13, 2000 5:10 AM
Subject: [IBO] SearchMode and Events


> Jason,
>
> if the DataSet is in SearchMode and I either post or cancel search,
> the events BeforePost / AfterPost and BeforeCancel/After Cancel are
> ! not ! fired. Instead the events BeforeExecute / AfterExecute are fired.
> Is it that you intended ? I assumed that the BeforePost/AfterPost are
fired,
> because I confirm the search with Post and cancel it with Cancel !
>
> How can I check whether the user posted or canceled search, without
checking
> which button he pressed ?
>
> thanks
> Harald
>
>
>
>
>