This topic is locked

Selecting multiple records across pages

5/26/2004 5:59:00 PM
ASPRunnerPro General questions
author

I have downloaded the trial version of ASPRunner, and the basic function works very well. However, there is a function I would like to do, and am not sure if it supported, or if it can be implemented with some minor code additions.
Here is what I'd like to do:

  • From the List View, I would like to "check" multiple records, and across pages if the total results span multiple pages
  • Then the user would click a "submit" button and a field from each of the selected records (say NAME) is posted to another ASP (our own code).
    Is there any built-in function to do this? If not, how difficult would it be to implement such a function?
    Thanks in advance for any direction you can provide.

Sergey Kornilov admin 5/26/2004

Rob,
there is no built-in functionality in ASPRunner that can do what you need however here are some guidelines.
You need to add a new checkbox column on the list page. When user goes to another page you need to store all checked record IDs in a Session variable. When user hits Submit you need to pass those IDs to a separate page.
I'm not sure how difficult to implement it. You can give it a try.

500121 5/29/2004

OK, I understand conceptually what needs to be done; however, I'm not the most proficient coder.
Could you please provide some direction as to what the code to add the column, and the session variable would be?
If you can get me started, I'll try to take it from there.
Thanks.

Rob.

Sergey Kornilov admin 6/1/2004

Rob,
new column header needs to be added in WriteTableHeader sub, new column content needs to be added in LoopRS sub.
I'm not really sure how to implement the whole schema. This don't sound easy to me.

500122 6/2/2004

OK, thanks anyway for your direction. I'll give it a try.
Still it's a great product (and one I wish we knew about sooner!). I'm still going to recommend for us to purchase it.
Thanks again -- keep up the great work.
-R.