Disabling Table Block Query's?

View: New views
3 Messages — Rating Filter:   Alert me  

Disabling Table Block Query's?

by Julian-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
When Creating a form with a Table Block is it possible to have the Table Block
not automatically load data from the database? I know I can put a LIMIT on
the query But I would like to halt any query on form load and have the Table
Block load data when instructed.
Also setEnable(bool) doesn't seem to work as I expecting on a Table Block.
seems to inherit item setEnable(row,bool).
Any suggestions?
THanks.
Jules.
_______________________________________________
Rekall mailing list
Rekall@...
http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall

Re: Disabling Table Block Query's?

by Andree Clausing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Julian..

you can try to answer the pre-query event with false..

Pre-Query:
Script routine to be invoked just before select query is executed. The  
function takes argument, the block. If the result is false, the query  
returns no data.

Andree

Am 12.11.2007, 18:34 Uhr, schrieb Julian <tempura@...>:

> Hi,
> When Creating a form with a Table Block is it possible to have the Table  
> Block
> not automatically load data from the database? I know I can put a LIMIT  
> on
> the query But I would like to halt any query on form load and have the  
> Table
> Block load data when instructed.
> Also setEnable(bool) doesn't seem to work as I expecting on a Table  
> Block.
> seems to inherit item setEnable(row,bool).
> Any suggestions?
> THanks.
> Jules.
> _______________________________________________
> Rekall mailing list
> Rekall@...
> http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall


_______________________________________________
Rekall mailing list
Rekall@...
http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall

Re: Disabling Table Block Query's?

by Julian-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your right,
thanks.

On Wed, 14 Nov 2007, Andree Clausing wrote:

> Hi Julian..
>
> you can try to answer the pre-query event with false..
>
> Pre-Query:
> Script routine to be invoked just before select query is executed. The
> function takes argument, the block. If the result is false, the query
> returns no data.
>
> Andree
>
> Am 12.11.2007, 18:34 Uhr, schrieb Julian <tempura@...>:
> > Hi,
> > When Creating a form with a Table Block is it possible to have the Table
> > Block
> > not automatically load data from the database? I know I can put a LIMIT
> > on
> > the query But I would like to halt any query on form load and have the
> > Table
> > Block load data when instructed.
> > Also setEnable(bool) doesn't seem to work as I expecting on a Table
> > Block.
> > seems to inherit item setEnable(row,bool).
> > Any suggestions?
> > THanks.
> > Jules.
> > _______________________________________________
> > Rekall mailing list
> > Rekall@...
> > http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall
>
> _______________________________________________
> Rekall mailing list
> Rekall@...
> http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall

_______________________________________________
Rekall mailing list
Rekall@...
http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall