close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Search Database for Timestamp range

Thread began 10/01/2009 12:50 pm by bill173836 | Last modified 10/05/2009 2:44 pm by bill173836 | 2263 views | 3 replies

Eric Mittman

This type of date field in MySQL should be usable in the DataAssist Search server behavior to get back results.

To test it out try this, create a new page and add a recordset that will select all from this table that has the timestamp field. Once you have got the recordset crafted create the results display on the page and add the repeat region around it to show all of the records.

Next you will want to add a small form to the page, just something with an input and a submit button will do.

Now add in the DataAssist Search server behavior. In here configure the search to work on the time stamp column. For the criteria just choose date, for comparison choose less than, and for the type choose edit. For the Edit field name use the lightning bolt to select the text field of the form you just added. Double check the settings before clicking on ok.

When you test this you should be able to enter a valid date into the text field and have all of the records with a date that is previous to this show in the results. Please post back with what you get.

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