I'm trying to save a collection (called: artikelen) to a dataverse table (called: orderregels) by using the Patch function.
My collection has the following columns:
artikel
fabrikant
My Dataverse table has the following columns:
artikelnaam
fabri
And of course the default columns
I give a button the following formula:
ForAll( artikelen;
Patch('orderregels';
Defaults('orderregels');
{ artikelnaam: artikel ;
fabri: fabrikant
}
)
)
the problem is There is a new record created in the DataVerse table but the artikelnaam and fabri are empty (null)
I tried very many like artikelen(@artikel] but nothing seems to work.
Please can anybody give me the solution?
thnx!
Erik