> > Subject: Re: Remove the 1 Of 6 [DATABASE.DB] Messgae
> > Organization: University of California, Santa Cruz
> > Bartels) writes:
> >>Hi all,
> >> What whould be the best way to remove the
> >> 1 Of 6 [DATABASE.DB] message example from the status window.
> >> This is the only message I need to trap and remove, because I
> >> do not what user seeing what db files are in use from my forms.
> >> Thanks for your help
> > go to the STATUS method at the form level:
> > method status(..)
> > if eventInfo.isPrefilter() then
> > disableDefault
> > endif
> > endmethod
>If I do it this way, all messages are disabled.
>It would be better to have just that kind of message being disabled, but I have
>not found any way to do this than to examine the textstring.
if eventInfo.isPrefilter() then
if search(eventInfo.statusValue(),".DB") <> 0
or match(eventInfo.statusValue(),"..of..[") <> 0 then
that will disable any message that has a tablename ending with .DB or .DBF and
will also disable messages with "x of x [table.ext]" messages
|| || ||\/|| ||=|| ||| Phone : (408) 425-7455
!!!! !! !! !! !! !! !! !! Fax : (408) 425-7516