close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Normalization

Thread began 6/13/2011 6:41 pm by madelectrical386948 | Last modified 6/30/2011 2:48 pm by madelectrical386948 | 7095 views | 33 replies

Jenny I

Hi Mike,

You seem to be on the right track. The way I think this would work is like the

1. Your Company Index table is acting like a container which will hold data from the company table and the options table. e.g

  Company Index Table

companyIndexID (primary key) INT
companyID INT
optionsID INT  



2. You should then have the company table which should look something like this

  Company Table

companyID (primary key) INT
companyName VARCHAR
companyShortName VARCHAR
CompanyAddressNo VARCHAR
companyAddressLine1 VARCHAR
companyAddressline2 VARCHAR
companyCity VARCHAR
companyState VARCHAR
companyZipCode VARCHAR  



3. Next your options table can be set up like this

  options Table

optionsID (primary key)
optionsTitle VARCHAR


Your data should look something like this

ID
1. Facebook
2. Twitter
3. Webpage

etc  



If you wanted your company index table to have more that one option selected you could add

  Company Index Table

companyIndexID (primary key) INT
companyID INT
options1ID INT
options2ID INT
options3ID INT
options4ID INT

etc  



The main work comes in on DW and WA. You would run data assist wizard on your company index table. Once you have done this you would need to use MYSQL JOIN to display data from your company and options tables on your detail, results and update pages.

In relation to turning options off, when you run data assist wizard it will pick up on your optionsID foreign key in your company index table. dataassist will guide you through make a dynamic list or checkboxes to display your options.

MYSQL JOIN is the key to getting all your data from various tables to display after you have run the data assist wizard. There is also something called MRT from webassist but unfortunately I do not really know how it works.

Hope this helps a little

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