close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Manage relational tables with two key fields

Thread began 6/02/2009 12:18 am by office377308 | Last modified 10/18/2010 9:15 am by office377308 | 2107 views | 6 replies


I am having the exact same issue...

I have a table that has 3 fields, 2 of which are FK's to other tables and those to FK's as a pair must be unique, so they are both set to primary key...which works great in all other parts of the site.

However, I am trying to now set up and update screen for the 3rd field, and I can't figure out how to pass both primary keys as variables to the update page.

Is there a way to force DA to use 2 fields as primary key? If not, what code do I enter/modify on the update page (which is all I really need) to pull the correct result?


People = FK to People Table - PK
Profession = FK to Profession Table - PK
Salary = requires update fields

A single person may have multiple professions, and each profession has a different salary range associated with it - by the same token, multiple people could have the same professions, and have different salary range(s) than other folks in that profession...

When someone clicks the link on the Person Detail page (which will point to the update salary page for that profession) I need to make sure it pulls the correct person and the correct profession so they can edit the appropriate salary line...

I don't really have any code to attach, because I can't figure out how to complete the DA Wizard with 2 primary keys...


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





Ease of use


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