Is there C/AL codeto select at random

Fariraishe_Shumba
Fariraishe_Shumba Member Posts: 44
edited 2012-05-09 in NAV Three Tier
I have records in my table and i want to update each record using values from another table. I want to select a value from a table at Random and then update another table at Random again using the selected value.

Can someone help

Regards

F.Shumba

Comments

  • Chinmoy
    Chinmoy Member Posts: 359
    You need to write a process only report and write some code to achieve this. There no standard method in NAV to do something like this.
  • matttrax
    matttrax Member Posts: 2,309
    There are RANDOM and RANDOMIZE functions. Check out the NAV Help menu.