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! |
 |
 |
|