close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Value from SELECT query will not display

Thread began 6/30/2009 12:20 pm by fab77721 | Last modified 7/06/2009 3:20 pm by Ray Borduin | 3276 views | 5 replies |

fab77721

Value from SELECT query will not display

Strange problem I'm running into. When I run my select query one of the fields I query for is something called engUnits. I then us it to display on my Y axis using the following code on my mypage_data.asp page:

<legend size="10" color="#2d2b2e"><%=(WADWCnullpistd.Fields.Item("engunits").Value)%></legend>

Strange thing is that if the value returned for WADWCnullpistd.Fields.Item("engunits").Value = tonnes then it displays fine on the axis. If the value returned by WADWCnullpistd.Fields.Item("engunits").Value = % then nothing is displayed. Is there a chance that the parser doesn't know what to do with this character?

Sign in to reply to this post

Ray BorduinWebAssist

I suppose it is possible. If you view the parser page directly as it is referenced in the movie, does it show xml properly? Maybe try url encoding the value.

Sign in to reply to this post
Did this help? Tips are appreciated...

fab77721

I entered a support ticket for this as anywhere you use the % sign in either the title or axis it gets pulled out. Tried in on a default graph where I entered the title as "Trend %Oil" and it displayed as "Trend il"

Sign in to reply to this post

Ray BorduinWebAssist

That makes sense. It means you need to either urlencode this value or use: %25 in place of % since that is the urlencoded version of %

Sign in to reply to this post
Did this help? Tips are appreciated...

fab77721

Any other ideas as I'm using a database query to fill the chart title. URL encoding it or changing the text string is not an option from what I understand.

Sign in to reply to this post

Ray BorduinWebAssist

You can go to the _data file and add urlencoding by hand pretty easily. It sounds like that is your best option.

Sign in to reply to this post
Did this help? Tips are appreciated...

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