close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

master-detail pages with many to many relations?

Thread began 5/17/2017 8:33 am by tony | Last modified 5/18/2017 12:03 am by Ray Borduin | 461 views | 2 replies |

tony

master-detail pages with many to many relations?

Hi all,
I need to build a master-detail back-end with WA databridge.
I know how to create basic master/details using the WA dataAssist pages server behaviour.
But what about using many-to-many relation with these pages?
Example:
I have 3 tables:
1- students
2- courses
3- students-courses
The table 3 contains only two field with 2 foreign keys: userID, and courseID

Every student can attend more than one course;

How can I create a user detail page that allow me to edit user data along with the course he can attend to?

I used ADDT (again!) in the past and this was "almost" easy.
With ADDT, once you applied the many-to-many server behaviour you were able to get a student detail page with all fields from the students table and a number of fields (checkboxes) (the number depends from the number of courses available). Thicking the courses checkboxes for the specific 0student you're editing will create multiple records in the table 3.

Basically I would like to edit the students records and add the ability to specify the courses a student can attend.

Is there a way to get something similar?

TIA
tony

Sign in to reply to this post

Ray BorduinWebAssist

There is a Server Behavior for this called "Manage Relational Table". You can view a tutorial on how to use it here: http://www.webassist.com/tutorials/Manage-relational-tables

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

tony

Hi Ray,
Really interesting.
Thanks
tony

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