nerdexam
SAP

C_BOCR_11 · Question #277

C_BOCR_11 Question #277: Real Exam Question with Answer & Explanation

Sign in or unlock C_BOCR_11 to reveal the answer and full explanation for question #277. The question stem and answer options stay visible for context.

Question

You create the following formula in a new Crystal report to return random records based on the user's parameter input: WhilePrintingRecords; NumberVar array Rnd_Array; Redim Rnd_Array[{?Records Returned}]; NumberVar Seed; numbervar arryindex1; Numbervar arryindex2; While arryindex1 := 1 To {?Records Returned} Do( Seed := Int (Count ({Orders.Order ID})*RND()); if not(Seed in Rnd_Array) and arryindex2 < {?Records Returned} then ( arryindex2 := arryindex2 + 1; Rnd_Array[arryindex2] := Seed ) ); Rnd_Array[1]; You receive an error when saving the formula. Which loop type should you replace the existing loop with to resolve the error?

Options

  • ADo While
  • BFor Do
  • CDo Until
  • DFor Next

Unlock C_BOCR_11 to see the answer

You've previewed enough free C_BOCR_11 questions. Unlock C_BOCR_11 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 C_BOCR_11 Practice