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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search and Sort on the same recordset

Thread began 2/21/2011 2:20 pm by iansheldon422428 | Last modified 3/21/2011 4:44 pm by Jason Byrnes | 1152 views | 5 replies |

iansheldon422428

Search and Sort on the same recordset

Hi WA,

Can I apply a search AND sort on the same Recordset on the same page?

I have a results page and want to be able to use the WA extensions to

a) Sort if applicable
b) Filter by a category

Thanks
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

Ys, you can use the DataAssist Search and Sort behaviors on the same page.

Sign in to reply to this post

iansheldon422428

Thanks Jason,

I've managed to get it working now. For some reason each time I apply Data Assist Sort it butchers my recordset, taking the Data Type of the Parameters section.

I can add it back manually and everything works OK, until I need to go in and make changes to the Sort Behaviour.

However all working for now!

Cheers
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

I have not run into that problem before.


can you send a copy of the page before editing the sort and another copy of the page after editing the sort so i can see what it is doing to the code, also provide details on your DW version and OS please.

Sign in to reply to this post

lowell

Applying DA Search deletes Data Type of last parameter in recordset.

I also have this problem and since there was no response, here is the code for my problem. DW CS4 on Vista.

Before applying DASearch
, GetSQLValueString($Paramadmin_WADAct_application, "int"),GetSQLValueString($Parambranch_WADAct_application, "int"),GetSQLValueString($Paramidbranch_WADAct_application, "int"),GetSQLValueString($Paramteacher_WADAct_application, "int"),GetSQLValueString($Paramidteacher_WADAct_application, "int"));

After applying DA Search
, GetSQLValueString($Paramadmin_WADAct_application,"int"),GetSQLValueString($Parambranch_WADAct_application,"int"),GetSQLValueString($Paramidbranch_WADAct_application,"int"),GetSQLValueString($Paramteacher_WADAct_application,"int"),GetSQLValueString($Paramidteacher_WADAct_application);

A red exclamation point also appears next to the Recordset in the Server Behaviors panel. I must add both the space between the comma and the "int" for each parameter and the data type for the last parameter.

Hope this helps.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, I see now. the issue is not so much caused by using DataAssist search and sort at the same time, it is applying sort to a recordset that contains parameters.


Thank you for clarifying this.

I have logged the issue in our bugbase.

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