kevind
Posts: 251
|
| Posted: 09/27/2005, 8:17 AM |
|
I think I saw this around the forums but, can't find it ! 
Is there a way to reference the form that is submitting so that the form name does not need to be repeated in ASP code when referencing control values.
Like:
With [Form submitted]
.control1.value = 1+1
.control2.value= .control1.value +2
end with
Can someone point me in the right direction - I'm looking for the syntax to replace what follows the With statement above.
thanks,
kd
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |
DonB
|
| Posted: 09/27/2005, 12:19 PM |
|
You are probably thinking about Eventcaller. It's value varies depending on
the event in which it's used. It can be equivalent to the form name, in the
form's events (like Before Show). It can also be a Datasource or Label,
etc. in their events.
With Eventcaller
....
End With
--
DonB
http://www.gotodon.com/ccbth
"kevind" <kevind@forum.codecharge> wrote in message
news:6433962894bf8d@news.codecharge.com...
> I think I saw this around the forums but, can't find it ! 
>
> Is there a way to reference the form that is submitting so that the
form
> name does not need to be repeated in ASP code when referencing control
> values.
>
> Like:
>
> With [Form submitted]
> .control1.value = 1+1
> .control2.value= .control1.value +2
> end with
>
> Can someone point me in the right direction - I'm looking for the syntax
to
> replace what follows the With statement above.
>
> thanks,
> kd
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
kevind
Posts: 251
|
| Posted: 09/27/2005, 12:27 PM |
|
thanks, that's it - just couldn't remember the syntax/name
thanks,
kd
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |
marcwolf
Posts: 361
|
| Posted: 09/27/2005, 3:53 PM |
|
Just out of curiosity
Is there any documentation around on EventCaler.
I have seen some impressive examples but never found out where the base info is on it.
Many thanks
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
DonB
|
| Posted: 09/27/2005, 7:23 PM |
|
I think it's casually mentioned in the Help file, but I learned of it from
Tech Support initially. Wish there was a similar feature in PHP!
--
DonB
http://www.gotodon.com/ccbth
"marcwolf" <marcwolf@forum.codecharge> wrote in message
news:64339cd796bb5d@news.codecharge.com...
> Just out of curiosity
>
> Is there any documentation around on EventCaler.
>
> I have seen some impressive examples but never found out where the base
info is
> on it.
>
> Many thanks
>
> Dave
> _________________
> ' Coding Coding Coding
> Keep Those Keyboards Coding.
> Raw Code!!!!!!!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |