close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Manage Relational table

Thread began 10/31/2012 5:09 am by CraigR | Last modified 10/31/2012 2:57 pm by CraigR | 732 views | 8 replies |

CraigRBeta Tester

Manage Relational table

Have done this a while ago, but not using databridge.

I have gone through the bluesky tutorial twice and cannot get the insert or update pages to work properly.

Attached Files
mrt.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the insert and update record behaviors, you have the Primary key itemID column bound to a form element.

The primary key column should not have a binding, the database will manage the value of the ItemID column automatically.

Sign in to reply to this post

CraigRBeta Tester

you're right, don't know why i did that.

However, I started again and I have the same problem.

The simple insert and update work fine, the mrt does not insert any rows into the genres table

using blue sky database and tutorial

Sign in to reply to this post

Jason ByrnesWebAssist

can you send the latest copy of the pages.

Sign in to reply to this post

CraigRBeta Tester

oops, sorry I forgot the attachment

Attached Files
mrt.zip
Sign in to reply to this post

Jason ByrnesWebAssist

1) add the following to line 1 to force the page to find the session:

php:
<?php @session_start(); ?>




2) the code forthe value of the genre hidden form element has a trailing space:

php:
value="<?php echo $row_rsGenres['GenreID']; ?> "



it should be:

php:
value="<?php echo $row_rsGenres['GenreID']; ?>"
Sign in to reply to this post

CraigRBeta Tester

Thanks Jason.

That seems to have been the issue - all working fine.

Now that I have tested the theoretical solution, I have an additional question.

I have a number of many to many relationships, whereby the items table is linked to different options which are item specific.

do i add several mrt server behaviors on the same page ?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you can add multiple MRT behaviors to the page.

Sign in to reply to this post

CraigRBeta Tester

great.

onwards and upwards..

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