Página 1 de 1
need help with Filter
Publicado: Sab Sep 18, 2010 10:39 pm
por jemstv
Hi again;
on a multi page tfolder
on page 1 i save a fielda that i want to use as a filter on
a tdbbrowse so only records matching that value of filedA are shown
cant find good samples of set filter...
tried harbor but get internal error
thanks in advance
need help with Filter
Publicado: Lun Sep 20, 2010 9:39 am
por ignacio
Josemo,
The filter value must be a expression recognized by the underlying database
system. In case of SQL datasources it must be a valid WHERE clause. In case
of DBF datasets it must be a expression compatible with the SET FILTER
command.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Josemo" <magjem[at]sbcglobal[dot]net> escribió en el mensaje de
noticias:4c952391$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>
> Hi again;
>
> on a multi page tfolder
> on page 1 i save a fielda that i want to use as a filter
> on
> a tdbbrowse so only records matching that value of filedA
> are shown
>
> cant find good samples of set filter...
> tried harbor but get internal error
>
> thanks in advance
>
need help with Filter
Publicado: Lun Sep 20, 2010 11:59 am
por jemstv
thanks for the reply..
is set filter the way to go or is set relation of the dbfs better?
is it possible to get an example of each? I cant find one in samples that i can follow
thanks
need help with Filter
Publicado: Lun Sep 20, 2010 2:07 pm
por ignacio
Josemo,
oDbf:SetFilter( "NAME = 'JOHN'" )
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Josemo" <magjem[at]sbcglobal[dot]net> escribió en el mensaje de
noticias:4c97306a$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> thanks for the reply..
>
> is set filter the way to go or is set relation of the dbfs
> better?
>
> is it possible to get an example of each? I cant find one
> in samples that i can follow
>
> thanks