Group:  Microsoft Access ยป microsoft.public.access.gettingstarted
Thread: Question about condition in Macro Window

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Question about condition in Macro Window
Davey 31.08.2006 16:10:02
I'm reviewing a macro and it has a "run code" action based on the following
condition "1=2"
What does that condition mean?
Re: Question about condition in Macro Window
"Duane Hookom" <DuaneAtNoSpanHookomDotNet> 31.08.2006 18:28:05
It means this action will not occur since 1 does not equal 2.

--
Duane Hookom
MS Access MVP

"Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
news:65893D54-E814-499B-9257-06CE8C5CA757[ at ]microsoft.com...
[Quoted Text]
> I'm reviewing a macro and it has a "run code" action based on the
> following
> condition "1=2"
> What does that condition mean?


Re: Question about condition in Macro Window
Davey 31.08.2006 20:06:02
Thanks Duane! I thought as much. However now I can't understand why it was
included in the macro in the first place since 1 will never equal 2


"Duane Hookom" wrote:

[Quoted Text]
> It means this action will not occur since 1 does not equal 2.
>
> --
> Duane Hookom
> MS Access MVP
>
> "Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
> news:65893D54-E814-499B-9257-06CE8C5CA757[ at ]microsoft.com...
> > I'm reviewing a macro and it has a "run code" action based on the
> > following
> > condition "1=2"
> > What does that condition mean?
>
>
>
Re: Question about condition in Macro Window
"Duane Hookom" <DuaneAtNoSpanHookomDotNet> 31.08.2006 20:21:15
Possibly the author decided they wanted to temporarily disable the action
with the possibility of enabling it later. This is similar to commenting out
code rather than just deleting it from a module.

--
Duane Hookom
MS Access MVP

"Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
news:31F68087-960E-460F-9D1E-567F9054DBB6[ at ]microsoft.com...
[Quoted Text]
> Thanks Duane! I thought as much. However now I can't understand why it
> was
> included in the macro in the first place since 1 will never equal 2
>
>
> "Duane Hookom" wrote:
>
>> It means this action will not occur since 1 does not equal 2.
>>
>> --
>> Duane Hookom
>> MS Access MVP
>>
>> "Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
>> news:65893D54-E814-499B-9257-06CE8C5CA757[ at ]microsoft.com...
>> > I'm reviewing a macro and it has a "run code" action based on the
>> > following
>> > condition "1=2"
>> > What does that condition mean?
>>
>>
>>


Re: Question about condition in Macro Window
Davey 31.08.2006 20:36:01
Thanks for the clarification!

"Duane Hookom" wrote:

[Quoted Text]
> Possibly the author decided they wanted to temporarily disable the action
> with the possibility of enabling it later. This is similar to commenting out
> code rather than just deleting it from a module.
>
> --
> Duane Hookom
> MS Access MVP
>
> "Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
> news:31F68087-960E-460F-9D1E-567F9054DBB6[ at ]microsoft.com...
> > Thanks Duane! I thought as much. However now I can't understand why it
> > was
> > included in the macro in the first place since 1 will never equal 2
> >
> >
> > "Duane Hookom" wrote:
> >
> >> It means this action will not occur since 1 does not equal 2.
> >>
> >> --
> >> Duane Hookom
> >> MS Access MVP
> >>
> >> "Davey" <Davey[ at ]discussions.microsoft.com> wrote in message
> >> news:65893D54-E814-499B-9257-06CE8C5CA757[ at ]microsoft.com...
> >> > I'm reviewing a macro and it has a "run code" action based on the
> >> > following
> >> > condition "1=2"
> >> > What does that condition mean?
> >>
> >>
> >>
>
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net