close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Count fails to properly format

Thread began 2/21/2017 11:11 am by Steve | Last modified 3/06/2017 1:19 pm by Ray Borduin | 91 views | 15 replies |

Steve

Count fails to properly format

Hello,
This is a bug that needs to be fixed...

When using the count function the results are always improperly formatted :


SELECT `Count(orientation`.`id)` AS Countid, orientation_assigned.classAssigned
FROM orientation INNER JOIN orientation_assigned ON orientation.id = orientation_assigned.classAssigned


Problem result:

`Count(orientation`.`id)`


Should be:

Count(`orientation`.`id`)

Sign in to reply to this post

Ray BorduinWebAssist

I'll make sure that gets fixed. Thank you.

Sign in to reply to this post

Steve

Hi Ray,
Looks like the Aliases also reformat improperly when an edit happens.

Example:
Original: orientation.id AS `oid`,
After non related Edit (meaning not touching the prior Alias value) : orientation.id AS `oid) (oid`,

Sign in to reply to this post

Ray BorduinWebAssist

Thank you. I'll get you on the beta list for DataBridge v2 so you can test these things there as well since it seems you are the only one actively reporting problems.

Sign in to reply to this post

Steve

Let me know Ray...

It would be nice to see the Query Editor work without issues...

Half the time it can not allow edits if there are manual changes to the query. Then we need rewrite the full query or abandon the editor and continue in a hand coded method.

Sign in to reply to this post

Ray BorduinWebAssist

Can you send me your site definition and a page to reproduce? I'll need to be able to ftp in to connect to the database in dreamweaver to reproduce the problem and then I can try to get it resolved more quickly.

Sign in to reply to this post

Steve

The initial problem is that the "OUTER" which is optional for a JOIN did not allow re-editing.

LEFT OUTER JOIN Vs LEFT JOIN <-- I realize this and was just letting you know...

What's more confusion is this error (see image) regarding Checkboxes when the fields are Varchar so not sure why this is happening as the fields are available.

Sign in to reply to this post

Ray BorduinWebAssist

Can I get the full SQL statement so I can do some testing? The wording in the reference to checkbox is a little odd, but it looks like it is referring to the checkbox to select the column in the select statement not the column type.

Sign in to reply to this post

Steve

Attached to private mesage

Sign in to reply to this post

Steve

Attached to private mesage

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