Datasource - Filter

A

A. Peters

Hello!
If I use a Filter on a Datasource, does he made a new Query with the
constraint of my definend WHERE clause or does it retrieve all Data and
then filter the content? If that isnt the right way, how can i add a
WHERE clause? All docu that I found speak about alle Data from a
Datasource or Table.

Regards
Alex
 
C

Ciaran O''Donnell

I think it will filter the full data it has. If you want to dynamically
change a database where clause then you need to generate your SQL on the fly.
Be sure however to parameterise the query to stop SQL injection errors.
 
A

A. Peters

Ciaran said:
I think it will filter the full data it has. If you want to dynamically
change a database where clause then you need to generate your SQL on the fly.
Be sure however to parameterise the query to stop SQL injection errors.
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top