Re: Update field value

Author: Fred Taylor

Posted: 2009-03-26 at 15:39:03

On Thu, Mar 26, 2009 at 12:29 PM, Vince Teachout <teachv@taconic.net> wrote:

> MB Software Solutions General Account wrote:

>

>

> > Vince -- you meant ThisForm.MyMethod(this) (...not just the name

> > attribute, but the actual object) right?

>

> No, in my example (again, assuming I understood the question) only a

> property that can be tested by a CASE statement needs to be passed.

>

> So if the Button name was ButtVal1, the click method

> Thisform.MyMethod(this.name) would send the parm "ButtVal1" to the

> method, and a CASE would then process for ( CASE lMyParm = "ButtVal1" )

>

>

>

>

>

>

>

> So why not pass "this"? You can then reference the button.Caption (or any

> other property) directly and not need any CASE statement.

>

>

> --

> Fred

>

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 Fred Taylor