close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart recordsets

Thread began 7/26/2010 2:02 am by david331670 | Last modified 7/26/2010 7:40 pm by Eric Mittman | 610 views | 3 replies |

david331670

eCart recordsets

Hi
I would like to have a link to a page with a repeating region that will display a "Subgroup" number in the repeating region. The "Subgroup" number will be passed on from the originating page. I have tried the page link" AccessoriesList.php?Subgroup=146" as well as AccessoriesList.php<?php echo $row_rsAccessories146['ItemID']; ?>
Both work. I have dynamic links from the recordset on the list page to display the name, desc, price etc. I have a large number of groups and I would like to set up only 1 Accessory page and have the page populated by the detail from the link. I'm have trouble with the binding.
Do I need to set up a session variable or something like that and how do I set up the binding on the repeat table on the accessory page to display only the subgroup number??
Am I trying to be to clever?
Thanks as always for your help
David

Sign in to reply to this post

Eric Mittman

You are on the rite track here. The idea is that you need to link to this same page for all of the groups and just pass in the appropriate id. On this page with the recordset you will need to filter the recordset with this new URL parameter. In your recordset interface at the bottom you should have the option of filtering, choose the id column that your value will match with then specify to filter this column on a URL parameter and enter the name of your parameter, Subgroup.

Then whenever you link to this page with the Subgroup parameter set to a valid id it should filter the recordset and give you only the records from this Subgroup. The link will need to look like your example:

AccessoriesList.php?Subgroup=146

Sign in to reply to this post

david331670

Recordset

So Close yet so far.
Thank you I got it and it works
David

Sign in to reply to this post

Eric Mittman

That is good to hear, let us know if you have any other questions.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...