modal dialogs

David Thompson dthmpsn1 at uiuc.edu
Thu Mar 13 12:02:02 PDT 2008


>Just asking the obvious question but ...
>
>Would it work this way;
>
>local lvFieldname
>lvFieldname = "Fred"+" "+"Mertz"
>
>Field Name
>lvFieldname
>
>- Or -
>
>Field Name = lvFieldname
>
>David Groover

No. Not that we want it to. The first one is an example of "a field 
or variable name with no operators or functions." The second is the 
same as writing

Field Name
= lvFieldname

You would be starting a statement with an = sign. The point I was 
trying to make is that Jim erred when he said that an implicit 
assignment didn't have to be a constant. It looks like it does, and 
it needs to be a text constant at that. This is good news. Implicit 
assignments are almost always unintentional. The fewer opportunities 
we have to make this mistake, the better.

Dave

>On Mar 13, 2008, at 11:00 AM, David Thompson wrote:
>
>>  A text constant seems to be the only kind of loose formula that will
>>  compile. If you change the statements above to something like
>>
>>  Field Name
>>  "Fred"+" "+"Mertz"
>>
>>  you get, "Cannot compile procedure - one or more incorrect steps."
>>
>>  You get the same error if the formula is a numeric constant, or just
>  > a field or variable name with no operators or functions.


More information about the Qna mailing list