close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update relationship database records

Thread began 3/10/2011 12:07 am by Jaffa | Last modified 3/17/2011 2:10 am by Jaffa | 1209 views | 2 replies |

Jaffa

Update relationship database records

I'm at a loss.

I'm trying to show the colours that have been saved with a record from the relationship insert page in the attached update page.

On this update page I have added the same repeat function for my colours but have no clue how to place a check in the colours already selected and then to update the table if new choices are made.

Do i need a second update behaviour, do i need to create a SQL join please help this function is driving me mad.

Are there any examples or documents on how to achieve this in DataAssist? In ADDT this function is automated.

Cheers

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

Jason ByrnesWebAssist

there's 2 problems i see with this page:

1) Lines 158 - 199 are duplicate code chunks of the WA DataAssist Pre-Select Relational Table code that are used to preselect the checkboxes, there should only be one.


2) In the manage relation table behavior, you have set the master key to use the WADA_Insert_aaproducts session variable, that session is only available on the insert page, not the update page.

on the update page, you need to set the master key to use the
same WADAUpdateRecordID form element that is used for the update record behavior.

Sign in to reply to this post

Jaffa

Edit due to solution found.

I just figured out theat when adding the relationship extension I must not have any element within the page selected. If there is the relationship wizard failes to generate the correct code. Not sure if you have experieced this before but. After several hours of testing i finally found why!

Attached Files
aaproducts_Update.zip
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...