close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Displaying Checkbox Data

Thread began 11/13/2009 8:54 am by rob294118 | Last modified 1/25/2010 5:30 pm by bjgarner241692 | 1281 views | 2 replies |

rob294118

Displaying Checkbox Data

I have a dataassist form that only displays the data (0 or 1) from my table if the field in text. When I set the field as a "Checkbox" field in the Data Assist Wizard, the field is not checked even though the value is a 1 in the database.

How do I display data for a Check Box. I also have the same problem for drop-down menus.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

Select the checkbox in design view. In the property inspector, click the Dynamic button.

Clickthe lightning bolt next to Check IF and select the corresponding Recordset column. In the Equal To box, type the number "1"


For select lists, you have click the dynamic button in the property inspector as well. Click the lightning bolt next to select value equal to and select the corresponding recordset column.

Sign in to reply to this post

bjgarner241692

My Checkbox is a Yes/No field in an Access Database, so if the box is checked, the value = TRUE. (this is what is shown in an Excel export)

However, I tried TRUE, Yes and 1. None of them showed the proper selection. That is when I noticed that on my DataAssist Update page the value was True as opposed to TRUE. I changed my rule to True and it works fine.

Just found this interesting and thought I would share it for others. Case sensitivity is not normally an issue with an MS Server and in this case, the case seems to change in ASP from it's native format.

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