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

 Supposed To Happen?

Print topic Send  topic

Author Message
Andrew B
Posted: 02/10/2002, 11:06 PM

I found an interested little feature on accident just a few minutes ago.

I have a DB filed called 'FileName'. When I put this field on the edit form, any button press redirects me to the value in that field.

i.e. I have 'licensing.asp' in the 'FileName' field in the table, and thus in the form. When I press update/cancel/etc. it takes me to http://site/licensing.asp.

FunkY. So i just renamed my var. to LinkFileName.
Nicole
Posted: 02/11/2002, 3:17 AM

Andrew,
take a look at CC generated code and you'll find that FileName is used in html code, e.g.:
<form method="POST" action="{FileName}" name="Book">

While the page load "FileName" is replaced with the page you have selected as 'FormAction', but in your case it is replaced with the field value, that's why the redirection works incorrect.
Changing the field name is good solution.

   


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.