I have 02 sharepoint list and i need to copy all record from table01 to table02. The table01 have 66000 records and when i try to user the code below, only the first 2000 records are copied to table02.
Please, see my code below and help me how can I solve this problem, because i have more table to migrate.
---------------------------------------------------------------------------------------------------------------------------------
Refresh(Table01);;
ForAll(Table01;
If(IsBlank(
LookUp(Table02;IdMaterial = Table01[@IdMaterial]));
Patch(Table02;
Defaults(Table02);
{
IdMaterial:Table01[@IdMaterial];
DescMaterial:Table01[@DescMaterial]
}
);
Patch(Table02;LookUp(Table02;IdMaterial = Table01[@IdMaterial]);
{
DescMaterial:Table01[@DescMaterial]
}
)
)
)