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 By Month Only

Print topic Send  topic

Author Message
jtarabay

Posts: 13
Posted: 09/21/2006, 6:39 AM

Could someone tell me how to search by month only. The DBFormat is mm/dd/yyyy, I just need to search by month(mm) when I set the format as mm and the DBFormat as mm/dd/yyyy and then try to search, I get the error:

The value in field s_Date_of_Birth is not valid. Use the following format: mm.

Thanks for any help you can provide.

JT

View profile  Send private message
jtarabay

Posts: 13
Posted: 09/22/2006, 8:38 AM

This is the search code, can anyone tell me why this would give me the above error, even though when I do a search, I am using the mm format, such as 05

ComponentName = "ConsumersSearch"
Method = IIf(FormSubmitted, ccsPost, ccsGet)
Set s_Date_of_Birth = CCCreateControl(ccsTextBox, "s_Date_of_Birth", Empty, ccsDate, Array("mm"), CCGetRequestParam("s_Date_of_Birth", Method))
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.

Web Database

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.