CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Using data from Listboxes to add to search param's

Print topic Send  topic

Author Message
sdaly
Posted: 03/27/2002, 8:35 AM

I was wondering if anyone has run into this:
I can not use the data from a field that uses a list box to use in a search.
Also, I can not use a list box in the search, to search a field that uses a list box.
Can anyone help me?

Thanks!
Nicole
Posted: 03/28/2002, 12:28 AM

Hello,
hope this explanation will help you to handle with the problem.
List of value for listbox (or radiobutton) field consists of pares of values. The second values in each pare (showing field) is used to be displayed in listbox field, first values (primary_key field) in the pare is passed as parameter from the form when any value is selected in listbox. Namely values passed from the form are used to filter records on grid form. Once these values
are values of corresponding primary keys you should add them as Input parameters and assign to proper field (not of text type but of numeric type)
sdaly
Posted: 03/28/2002, 10:50 AM

Nicole:
I have tried changing the P=Key and Showing feilds on both the search feild and th record field with no luck. Any other suggestions?
Albert
Posted: 03/29/2002, 1:05 AM

Hi,
as I know the only requirements are using the same var names both for search field and input parameter and assign input parameter to correct table field. Check it to make sure that requirements are meet.

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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