CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Search box

Print topic Send  topic

Author Message
james
Posted: 03/20/2002, 7:35 AM

The sesrch box perform even if there is no entry, it display all records, i made it a required field and still displaying all record when empty. i'm using asp and access. any clue?

Thanks
Alex Alexapolsky
Posted: 03/20/2002, 8:15 AM

What did you make requred ? Field in search box or input parameter in grid ?
james
Posted: 03/20/2002, 8:29 AM

i made the search box field required.
Carlos
Posted: 03/20/2002, 8:49 AM

This is most true. I'm having the same problem at http://www.micro.com.do/servicios/ConsultaPublica_Lista.asp

If you type any unexisting value in the first textbox, the search will display an empty form (not a "no records" warning). Try typing "100" at the address above to see the problem. Type a valid entry "17" and compare.

In this search form, I'm making both de No. de Servicio (task_id) and its password (Clave de Servicio) required, but the search form ignores this setting.

I'm also using ASP and Access.

The validation feature is working fine in the "Record" forms but not in the "Search" forms.
Nicole
Posted: 03/20/2002, 11:56 PM

Hello guys,
1.required directive on search form will be ignored as there no ability to create validation rules as on record form (due to some difference in forms design). The workaround is to assign custom JavaScript function to onsubmit event of search form. It will check the value of search form fields and stop redirection to result grid if any field is empty.

2. you can select Input parameter on grid form as 'Requied'. In this case you’ll get empty Grid with 'No Records' message if no value of this parameter was passed to grid form.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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