CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Case sensitivity search

Print topic Send  topic

Author Message
romax

Posts: 5
Posted: 09/20/2004, 8:10 AM

I am using ASP with Oracle and my searches are obvisously case sensitive. However I can not figure out where to pu the upper syntax to change my sql query.

Do I need to change my data source to SQL from Table? Or can I edit the following code which contains the where clause.

Method = IIf(FormSubmitted, ccsPost, ccsGet)
Set s_QUESTION = CCCreateControl(ccsTextBox, "s_QUESTION", "s_QUESTION", ccsText, Empty, CCGetRequestParam("s_QUESTION", Method))
Set s_ANSWER = CCCreateControl(ccsTextBox, "s_ANSWER", "s_ANSWER", ccsText, Empty, CCGetRequestParam("s_ANSWER", Method))
Set Button_DoSearch = CCCreateButton("Button_DoSearch")
Set ValidatingControls = new clsControls
ValidatingControls.addControls Array(s_QUESTION, s_ANSWER)

Or is it actually in this chunk?

With WhereParameters
Set .Connection = Connection
Set .ParameterSources = Parameters
Set .DataSource = Me
.AddParameter 1, "urls_QUESTION", ccsText, Empty, Empty, Empty, False
.AddParameter 2, "urls_ANSWER", ccsText, Empty, Empty, Empty, False
.Criterion(1) = .Operation(opContains, False, "QUESTION.QUESTION", .getParamByID(1))
.Criterion(2) = .Operation(opContains, False, "QUESTION.ANSWER", .getParamByID(2))
.AssembledWhere = .opAND(False, .Criterion(1), .Criterion(2))
WhereParams = .AssembledWhere
View profile  Send private message
peterr


Posts: 5971
Posted: 09/20/2004, 12:31 PM

I cannot answer your question but I recommend these searches:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=oracle+case+sensitive
http://www.google.com/search?hl=en&ie=UTF-8&q=oracle+case+sensitive+index
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
romax

Posts: 5
Posted: 09/21/2004, 5:28 AM

I figured it out. I had to switch my datasoucre to SQL and then I could manipulate the SQL anyway I want. I ended up using Oracles' Free Text so case is irrelevant.
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.