nerdexam
Microsoft

MB6-894 · Question #47

MB6-894 Question #47: Real Exam Question with Answer & Explanation

Sign in or unlock MB6-894 to reveal the answer and full explanation for question #47. The question stem and answer options stay visible for context.

Question

You are writing an X++ method. You need to perform the same logic for multiple records in the database. How should you iterate over multiple records in X++?

Options

  • ADeclare a table buffer variable, and then write a "while select" statement to iterate through
  • BDeclare a shared variable for the table, and use the next() method to read each record.
  • CDeclare a RecordSortedList variable for the table, and use the next() method to read each
  • DDeclare an enumerator for the table, and call the moveNext() method to read each record.

Unlock MB6-894 to see the answer

You've previewed enough free MB6-894 questions. Unlock MB6-894 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full MB6-894 Practice