This topic is locked

Select all records, not only page records

9/20/2005 08:30:17
ASPRunnerPro General questions
C
chantal author

Hello Sergey
I have a question concerning the Delete function.

If we select all the records using "Select/Unselect all", only the records of the displayed page are selected and not all the records corresponding to the selection we have done (and which are on two pages for exemple).

Have you any idea to allow to select all the records and not only the records of the page (modifying templates or asp sources) ?
Best regards

Chantal

Sergey Kornilov admin 9/20/2005

Chantal,
I'm not sure how do you select something which is not on the screen.
If you like to delete all records that search returned you can add a button which will issue "delete ... from ... where " command according to search filter.
Is that what you trying to achieve?

C
chantal author 9/22/2005

Hello Sergey
Yes, I would like to process all the records corresponding to the search filter and which can be displayed on several pages.

I try to explain what we have done :

To be able to update the same field of different records with a same value, we have used the functionality of the Delete of AspRunnerPro, we have :

added buttons to choose the field to update and the new value.

All is ok except :

if we choose "Select all", only the records of the displayed page are updated but we would want to update all the records corresponding to our selection.
I agree, we have to add a button to allow to do a "update... where " command according to the search filter.
Thanks

Chantal