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


Multiple update checkboxes.

Thread began 12/14/2011 12:58 pm by CraigR | Last modified 12/15/2011 1:54 am by CraigR | 671 views | 1 replies |

CraigRBeta Tester

Multiple update checkboxes.

Not sure how to deal with this, so I thought I’d get some pointers before I get bogged down.
My insert form has a checkbox group for assigning categories, using 9 checkboxes populated using a recordset and a repeat selection,
This is working fine.

My update form needs to look similar, but with the relevant checkboxes populated, so I reckon I need to use a recordset with a left join, so that I get all of the categories, with the appropriate checkboxes preselected.

Here is a screenshot of the insert page and a mock up of the update page.
I can’t seem to create the desired update page recordset using a nested query.
Is a nested query the right approach to take ?

Sign in to reply to this post

CraigRBeta Tester

Sorted. (i think)

bit of hand coding required.

anyone who's interested, if you need to retrieve the stored values from a table whilst displaying all of the options, (as you would with a set of checkboxes), you need to create a recordset using a nested query with a left join.


SELECT CategoryDescription, coalesce(rsselected.CategoryID,0) as categoryid FROM refmessagecategory  LEFT JOIN ((SELECT CategoryID FROM tblmessagecategory WHERE MessageID = 4) as rsselected)  ON refmessagecategory.CategoryID = rsselected.CategoryID
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





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