Re: Update field value

Author: Vince Teachout

Posted: 2009-03-26 at 16:29:50

Fred Taylor wrote:

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

>

>>

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

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

In this example, how does it eliminate the need for CASE?

Again, assuming I am understanding the problem correctly (ie, "change a

value, depending on which button I pressed."), what's the difference

between:

CASE myParam = "button1"

and

CASE oMyParam.Name = "button1"

?

©2009 Vince Teachout