Print all rows in a table using x++

    Hi, I am writing the following code. However it is not iterating through all the records in my table can anyone please help me here?

   PdsBatchAttributes x;
        while select * from x
        {
            info(x.InventBatchId);
           
        }

Parents
No Data
Reply
  • There is a limit of how many messages can be shown in infolog. Maybe you're confusing the number of displayed messages with the number of iterated records.

    If it isn't the case, please give us more information about your actual problem.

    Also, when creating a new thread, please always attach a tag with your version of AX.

Children
Related
Recommended