close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Recordset look up

Thread began 2/21/2011 3:05 pm by moz1104419172 | Last modified 3/04/2011 9:49 am by Jason Byrnes | 998 views | 3 replies |

moz1104419172

Recordset look up

Hi,

Im trying to work out how to link up information in my dataset for certain product options on my eCart site. Iv tried working it out using the advanced options on the recordset menu but i cant seem to get it to work

I have options in my optiontable and i wish to link their IDs in with their corresponding numbers in my product table

so for example a record in my product table might have

-product-
Name: Red shirt
Price: 10
OptionID: 1
etc.

The optionID relates to which type of fabric they wish to use, which will then have different colours

-Optiongroup-
ID: 1
Fabric: Cotton

ID: 2
Fabric: Silk

-options-
ID: 1
FabricID: 1
Colour: Red

ID: 1
FabricID: 1
Colour: Blue
etc.

Basically i am trying to make it so that if i enter in a value of 1-4 in my data insert form. when it comes to the product result page where people can buy products from they will have the options of whatever fabric colour is available based on the ID

Sign in to reply to this post

Jason ByrnesWebAssist

have you send the product options tutorial on the eCart support page:
ecart/

Sign in to reply to this post

moz1104419172

I have gone over the tutorial but all it does is show you how one specific example will work, it doesnt show you how to use the advanced recordset tab to select a specific value. If i use the basic tab i can make it filter the results by a specific number but i want to filter results by a dynamic value, not a static number

Sign in to reply to this post

Jason ByrnesWebAssist

the best place to get specific help for using the advanced recordset tab is the Dreamweaver help.

On the advanced recordset tab, click the help button to get the context sensitive help for the advanced recordset tab.


when creating an advanced recordset, there are three main ideas to keep in mind:
1) selecting column from your query to include in the where clause,
2) assigning a comparison operator
3) Create a Parameter to use in the comparison.

If you set filtering options using the simple recordset dialog, then switch to the advanced dialog, it will have created a parameter for you already that you can view as an example.

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...