How can I replace this code and convert it code in a dynamic query code:
For each Customer:
display Customer.Name.
end.
I 'm using V8.3 and I want create a Custome Query (dynamic Query), I want replace the table's name with a variable... for example:
define var v_TableName AS character no-undo.
define var v_FieldName AS character no-undo.
ASSIGN
v_TableName = "Customer"
v_FieldName = "Name".
FOR EACH v_TableName:
DISPLAY v_Field:Name.
END.
Thank
For each Customer:
display Customer.Name.
end.
I 'm using V8.3 and I want create a Custome Query (dynamic Query), I want replace the table's name with a variable... for example:
define var v_TableName AS character no-undo.
define var v_FieldName AS character no-undo.
ASSIGN
v_TableName = "Customer"
v_FieldName = "Name".
FOR EACH v_TableName:
DISPLAY v_Field:Name.
END.
Thank