frdmgrp
Posts: 16
|
| Posted: 10/12/2009, 7:52 AM |
|
In creating the variety of fields on my form, am using the wide variety of methods available to set those fields. I basically collect some information, then have a 'calculate' button to build some label values to display the amounts. I'm finding I have to click Calculate numerous times to get everything set.
I don't understand the sequence of events, not within a specific control, but across the page itself. Specifically between setting default values on the Data tab, verses custom code (Dlookup) on a control, and OnClick and Before show custom code events on the button.
Do all the 'Data tab' set fields get executed first, followed by the Events tab code?
So if fields 1 and 3 are set through Data, and field 2 has an Event (BefShow). can I not set field3 from the results of field2?
Is there a doc describing the sequence of data setting options? Hope this makes sense, I am a rookie.
Thanks,
Scott
|
 |
 |
javadev
|
| Posted: 10/19/2009, 7:49 PM |
|
http://www.quirksmode.org/js/events_order.html http://javascript.about.com/library/bltut31.htm http://javascript.about.com/od/hintsandtips/a/exeorder.htm
frdmgrp wrote:
> In creating the variety of fields on my form, am using the wide variety of
> methods available to set those fields. I basically collect some information,
> then have a 'calculate' button to build some label values to display the
> amounts. I'm finding I have to click Calculate numerous times to get everything
> set.
>
> I don't understand the sequence of events, not within a specific control, but
> across the page itself. Specifically between setting default values on the Data
> tab, verses custom code (Dlookup) on a control, and OnClick and Before show
> custom code events on the button.
>
> Do all the 'Data tab' set fields get executed first, followed by the Events tab
> code?
>
> So if fields 1 and 3 are set through Data, and field 2 has an Event (BefShow).
> can I not set field3 from the results of field2?
>
> Is there a doc describing the sequence of data setting options? Hope this
> makes sense, I am a rookie.
>
> Thanks,
> Scott
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|