>>>It's 2:30am and my brain is not performing as it should. What is wrong here...
>>>SELECT FROM Attr WHERE cAttr = lcAttr
>>>
>>>Error in line 18: Command contains unrecognized phrase/keyword.
>>>
>>Are you sure that both cAttr and and lcAttr are variables which have not gone out of scope?
>
>cAttr is a field name (I also tried Attr.cAttr = lcAttr)
>lcAttr is a variable
If the table Attr is in a database container which is open then it is fine. Try ensuring that the table Attr is open. Check the value of lcAttr just before the SQL. I think it may have been declared but not initialized so that it may be a logical value.
Sanjay
Sanjay Kapoor
Relatively speaking is a conversation with Einstein