CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 making keyword textbox that takes three attributes from database

Print topic Send  topic

Author Message
CodeChargenewbie

Posts: 114
Posted: 09/06/2007, 9:12 AM

I have 3 attributes (or columns), and I'd like to combine them into one search textbox. Basically, I want the user to search by a keyword, in this case first, middle, and last name. The textbox is currently set to accept the last name. I think I need to build a sql query, which I did, but I don't think it's working.

The name of the textbox is s_LastName. I clicked on the record and defined the connection. Then I went into the data source to build the sql query. I set s_LastName to contain like LastName, FirstName, MiddleName, respectively, in three where statements. I made sure to check OR and the s_LastName parameter was set as URL. But, like I said, it's not working. Is there something I'm missing???

The only thing I do know is I have no clue what to set the control source for the textbox I labeled s_LastName.

Thank you in advance.
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 09/08/2007, 7:33 PM

CodeChargenewbie
Have you tried running your sql statements directly in the database environment?? Sometimes running it directly in the database environment helps you to resolve sql issues. Once you get the sql running correctly in the database environment then you can transfer it to CCS.
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.