John,
Is this inside a valid WITH statement? What wind of object is oCurrentData?
>I get an "There is not enought memory to complete this operation" error message when executing the following statement within a form :
>
>
>.lblID.Caption =IIF(.oCurrentData.EOF(), "No Record", .oCurrentData.FieldGetValue('ID'))