Hi .
I need validate a Field inside "Sales Invoice Subform" ( Lines ) line by line .
I do this
SalesLine: Record "Sales Line";
CurrPage.SalesLines.Page.GetRecord(SalesLine);
Message(SalesLine.Description);
The message show "Lampara AMSTERDAM" ( the last record in lines )

But i need validate all lines line by line i try do this :
SalesLine: Record "Sales Line";
CurrPage.SalesLines.Page.GetRecord(SalesLine);
if SalesLine.FindSet then
repeat
Message(SalesLine.Description);
until SalesLine.Next = 0;
end;
But show me a lot of Message all values in table SalesLine but not in Subform Lines( two lines )
i need to show two message "Escritorio Atenas" and "Lampara AMSTERDAM" ( are the records that are inside the lines )
How to make a loop to get the values in Subform Lines and not in all Table ?
Thanks. I need Help please