CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Best Practices: Events Vs. Direct Editing/Variable Scoping

Print topic Send  topic

Author Message
Suntower

Posts: 225
Posted: 03/14/2005, 1:16 PM

I have read here at least a couple of times how you recommend always using Events when altering code and -avoiding- changes to the pre-generated code.

Yet, in the tutorials there -are- references to directly modifying code like COMMON.ASP

Any wisdom people want to provide on which to choose? I'm still a beginner and I completely see the wisdom of NOT touching the pre-generated code at all.

BUT I often -dread- working with Events simply because I (often) can't figure out the -scope- of variables or how to reference them. For example, in something like a Button_Update from a ListBox, is there an easy to remember rule for how to refer to the RecordSet or the value of the control being 'selected'? IOW: it would -really- help me to understand better -what- gets passed into various objects.

Otherwise, I'll -likely- get into modifying the pre-generated code, just to keep my sanity.

Thoughts?

---JC


_________________
---On a campaign for more examples and better docs!
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.

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.