I just rechecked my code, and it WAS mistyped in my code, as you pointed. I must be losing my mind <g>
>You mistyped varibale name, '&Alias' instead of '&cAlias' . Anyway, you don't need macro substitution in this case.
IF oldval( "MYFIELD", cAlias ) == EVAL(cAlias + ".MYFIELD")
>
>>Could someone tell me why I get error "missing operand" in the following code:
>>
>>
>>cAlias = "MYALIAS"
>>IF oldval( "MYFIELD", cAlias ) == &Alias..MYFIELD
>>
>>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham