| Author | Topic: Is "ConditionFormula" a reserve word? |
---|
| IBA | Is "ConditionFormula" a reserve word?
on Sun, 06 Sep 2009 01:42:23 -0700The compiler errs on a line like this:
oObject:ConditionFormula(65) := "Test"
XBT0231: Invalid lvalue.
Please advise what's wrong here.
Many thanks,
-Itai |
| Frans Vermeulen | Re: Is "ConditionFormula" a reserve word?
on Sun, 06 Sep 2009 10:57:44 +0200Itai,
You probably mean:
oObject:ConditionFormula[65] := "Test"
or
oObject:ConditionFormula(65):Formula := "Test"
The syntax:
anything(65) := "Test"
will give you an invalid left value
HTH,
Frans Vermeulen
> The compiler errs on a line like this:
>
> oObject:ConditionFormula(65) := "Test"
>
> XBT0231: Invalid lvalue.
>
>
>
> Please advise what's wrong here.
>
>
>
> Many thanks,
>
> -Itai
>
> |
| IBA | Re: Is "ConditionFormula" a reserve word?
on Sun, 06 Sep 2009 02:30:46 -0700Thank you, Frans!
The Crystal Reports documentation shows oObject:ConditionFormula(65) :=
"Test"
The ConditionFormula() is a method assigning a string value to a attribute
#65.
I've tried your suggestions (and a few more), but the application errs.
Regardless, thank you for clarifying this syntax rule.
Take care,
-Itai
<Frans Vermeulen> wrote in message
news:20090906105744.2cfe1439.fvermeulen@7iggo.nl...
> Itai,
>
> You probably mean:
> oObject:ConditionFormula[65] := "Test"
> or
> oObject:ConditionFormula(65):Formula := "Test"
>
> The syntax:
> anything(65) := "Test"
> will give you an invalid left value
>
> HTH,
> Frans Vermeulen
>
>> The compiler errs on a line like this:
>>
>> oObject:ConditionFormula(65) := "Test"
>>
>> XBT0231: Invalid lvalue.
>>
>>
>>
>> Please advise what's wrong here.
>>
>>
>>
>> Many thanks,
>>
>> -Itai
>>
>> |
| Andreas Gehrs-Pahl
| Re: Is "ConditionFormula" a reserve word?
on Sun, 06 Sep 2009 13:18:01 -0400Itai,
>The Crystal Reports documentation shows oObject:ConditionFormula(65) :=
>"Test"
>The ConditionFormula() is a method assigning a string value to a attribute
>#65.
Try this:
oObject:ConditionFormula(65, "Test")
or this:
oObject:CallMethod("ConditionFormula", 65, "Test")
or this:
oObject:ConditionFormula:SetProperty(65, "Test")
or this:
oObject:SetProperty("ConditionFormula", 65, "Test")
-- Andreas
--- ---
Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net
415 Gute Street or: Andreas@DDPSoftware.com
Owosso, MI 48867-4410 or: Andreas_Gehrs-Pahl@CrimeCog.com
Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net
--- --- |