CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Referencing EditMode in BeforeBuildSelect event

Print topic Send  topic

Author Message
bb
Posted: 04/02/2004, 12:46 PM

How do you reference the value of EditMode in a BeforeBuildSelect event for a listbox on a form?
sebastian

Posts: 15
Posted: 04/02/2004, 2:18 PM

You just use:
$formname->EditMode

Sebastian
View profile  Send private message
bb
Posted: 04/02/2004, 4:57 PM

I tried that and it didn't seem to work. Not sure what the problem is.
peterr


Posts: 5971
Posted: 04/03/2004, 12:39 AM

EditMode is the property of a form and possibly cannot be referenced in a listbox event.
Per http://docs.codecharge.com/studio/html/Components/RTPro...P/EditMode.html it applies to: Record Form, EditableGrid Form.

Possibly a workaround could be to use CCGetParam to check if the URL contains non-empty key, which could indicate that the record is being edited.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
bb
Posted: 04/03/2004, 8:39 AM

Using a URL parameter got the job done. It would be nice if EditMode was available.

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.

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.