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

 Transfer parameters in 'menu' type forms

Print topic Send  topic

Author Message
Darren
Posted: 08/13/2002, 4:52 AM

Using CodeCharge.

How do I transfer parameters when using the menu type? So far I have been putting code in for the 'default' option that gets the parameter and adds it to the URL as suggested here once, but this only works for a limited number of items as it has a size restriction. I need to pass through about 10 parameters. Putting the parameters as inputs and selecting 'transfer' doesn't work with menus.

Any ideas?

Darren.
Nicole
Posted: 08/14/2002, 12:03 AM

Darren,
(I assume that you use CC)
you should create link fields manually. Use Label type fields with Html flag selected and assign values to it in form before Show event:
PHP
$params = "";
if (get_param("param1"))
$params .="param1=". get_param("param1");
if (get_param("param2"))
$params .="¶m1=". get_param("param2");

$fldfield1 = "<a href = \"Page_name.php?".$params."\">";

   


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.