CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 $Form->EditMode

Print topic Send  topic

Author Message
materix
Posted: 08/26/2004, 11:47 AM

I need to reference EditMode in BeforeShow of a Form.

When I just for testing try to write in BeforeShow:

global $Form;
echo $Form->EditMode;

Then the EditMode value comes out blank, both when it is supposed to be in EditMode and InsertMode.

If I try other Run-Time properties such as "InsertAllowed" the value is correctly written out.

So my question is, why I can not reference EditMode in BeforeShow?
travel-net

Posts: 56
Posted: 08/27/2004, 12:21 AM

global $storing_frm;
global $label1;
if ($storing_frm->EditMode) {
//Edit Mode
echo Editmode;
} else {
//Add Mode
echo Addmode;


Look in the top off your generated page. It displays the form mode
Regards,
Frans
View profile  Send private message

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.

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.