close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ERROR manage relation table

Thread began 3/13/2011 6:01 am by Cologne | Last modified 3/14/2011 11:54 am by Jason Byrnes | 2433 views | 10 replies |

Cologne

ERROR manage relation table

Hi,

its real a cross to insert that manage relation table!

I always get that f* ASTERIX!

An to insert 2 relation doesnt work anyway!!!

The code for the second selectbox aint created.

Need HELP, thanks!
Denis

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

Jason ByrnesWebAssist

1) The manage relational behavior is intended to be used in conjunction with an insert record behavior. your page does not have an insert record behavior on it.


2) The manage relational behavior will not work correctly with multiple select lists, it will only support check boxes.

Sign in to reply to this post

Cologne

Hi Jason,

how can I create the "check boxes" dynamicly.

OK, I always use an insert, this was just to show. when I got an INSERT, the second manage, wont be created. I will upload, a page :-)

Denis

Sign in to reply to this post

Jason ByrnesWebAssist

create the check boxes dynamically using a record set and a repeat region.


can you give more details on what you mean by "the second manage, wont be created"

I have not run into a problem using more than one manage relational table behavior on the page.

Sign in to reply to this post

Cologne

ok, just a moment I will create a page :-)

Sign in to reply to this post

Cologne

OK, here we go.

as you can see, the second SELECT MENU dont get the relation code like that [] etc.
By the way I dont know how to create that dynamic boxes :-(

the PHP code in the HEAD is created, but the second select menu (GENDER) dont gets updated with the php code like the first one (SIZE).

and, as you can see, I got that ASTERIXes even if I dont handcode the code :-(

Denis

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

Jason ByrnesWebAssist

the problem is that you are using select lists, like I said in my previous reply, the manage relational table behavior will not work with select lists, you need to use check boxes.


Add a checkbox to the page named size. you will need to set the value in code view. go to code view, place the cursor between the quotes for value, in the bindings panel select the id column from the size recordset and click the insert button at the bottom of the bindings panel

go back to design view, and select the size checkbox, then on the server behaviors panel, click the plus button and select Repeat region, use the size recordset, and set the repeat region to use all records.


repeat these steps for the gender checkbox.

for use with the manage relational table, the checkbox names should contain the [] characters at the end.

Sign in to reply to this post

Cologne

like that?

it looks a little strange, cause it adds so much code :-)

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

Jason ByrnesWebAssist

yes, that looks correct.

Sign in to reply to this post

Cologne

cool :-)

thanks!

Sign in to reply to this post
loading

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