close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding Product Options

Thread began 5/21/2009 11:54 pm by Nigel | Last modified 5/22/2009 3:21 pm by Nigel | 1648 views | 2 replies |

Nigel

Adding Product Options

I have an "Add Product" page which contains a DA insert form to add the product details to my items table. I also need to assign various options to the product, such as available colors and sizes, which I will do with lookup tables. I'm guessing this has to be done on a separate page, so I'm doing the first insert of the basic data and then redirecting to the "Add Options" page. A couple of questions:

1. How do I get the just created itemID of the added product to the "Add Options" page so I can filter the recordset of items to select that item for insertion into the lookup tables? Or do I need to do that?

2. Can I add the itemID into two different lookup tables (itemcolors, itemsizes) on a single page?

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

1) The newly inserted id is automatically stored in the session and can be passed to the page in the url as well if necessary.

2) You can do whatever design you want if it is intuative.... how many pages you use to create the user experience you want to support should be relative. Two separate forms on the same page behave no differently than two separate forms on different pages, so there is no reason why anything wouldn't work simply because it is on the same page as something else.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nigel

1. These pages aren't protected yet, I don't have a session running. I see a WADA_Insert_item session variable in the bindings panel but it's empty. So if I protect these pages and the user is logged in, I assume that variable will store the id of the new record which I can then use? I was going to do the login/protection last.

2. Very good to know. I thought inserts into multiple tables was a problem so have never tried it.

Thanks Ray.

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