CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Date search

Print topic Send  topic

Author Message
tamara

Posts: 26
Posted: 11/14/2005, 10:13 AM

I am trying to set up a search that will return results between two dates. I just can't seem to get it right. Any suggestions?
View profile  Send private message
peterr


Posts: 5971
Posted: 11/14/2005, 10:21 AM

Please see:
http://forums.codecharge.com/posts.php?post_id=44758
http://forums.codecharge.com/posts.php?post_id=51382
http://forums.codecharge.com/search.php?s_keyword=searc...m[]=6&s_period=
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
tamara

Posts: 26
Posted: 11/15/2005, 4:39 AM

Thank you. This is what I have been doing. I am afraid the problem may be that my data type is NVARCHAR and of course, I can't change it. Is there a work around for this?
View profile  Send private message
Edd


Posts: 547
Posted: 11/15/2005, 1:46 PM

If your dates are stored as NVARCHAR's then you can convert the NVARCHAR's to dates uing SQL functions such as CAST or Convert.

! would suggest your lookup either becomes a store procedure OR you convert the table lookup to SQL then add the convert / cast statements in SQL manually.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
tamara

Posts: 26
Posted: 11/15/2005, 3:53 PM

Thanks Edd: I am pretty new to SQL so most of this is new to me but I am going to look this up and try your advise.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.