CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Search page does not go to Return Page

Print topic Send  topic

Author Message
Rob
Posted: 04/10/2004, 5:34 PM

I am using the latest copy of CodeCharge Studio in a .asp environment. I use SQL Server 2000 for my database.

I created a Search form using the Search wizard. The form is on a page labeled SearchListings. The Search record form name property is ListingsSearch and the Return Page property is set to another page labeled Listings.

When the SearchListings page is generated, the form's action is set to itself. That is, the page calls itself and does not go to the Listings page. I use the Get method so you can see the querystring in the address. Also, if I View Source on my browser (IE 6.0), the form name property is name="ListingsSearch", the method="get" and the action="SearchListings.asp?ccsForm=ListingsSearch".

Normally I use the Search form on the same page as my grids, but this particular search is too big and I don't want the search record on the same page as the grid.

Does anyone know what I may be doing wrong? I'm stumped.
srinivas

Posts: 54
Posted: 04/11/2004, 10:02 AM

I think the way you have it setup should work. The only reason why it may go back to the search page is if you have any REQUIRED search terms on the page and is not selecting them. Check the "required" propertis on the search terms.

The other option might be to use only one page and have both SEARCH and GRID on it. And then turn the VISIBILITY to OFF on as needed basis. For example, if there are no search terms - set the visibility of SEARCH to TRUE and GRID to FALSE. You can use After Initialize even on the Page for doing this.

-Srinivas
View profile  Send private message
Rob
Posted: 04/12/2004, 6:28 AM

Srinivas,

There are no required fields, maybe this is a bug.

I do like the idea of setting the search form's VISIBLE property to FALSE by default and then providing a link labeled "Advanced Search" that will set the property to TRUE. I'll go with that.

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.