I am creating a 3 screen app.
I have set ONSTART changed to ClearCollect( NewGUID, ForAll( [ 1 ], GUID() ) )
from set( NewGUID, GUID() ) )
In the first screen OnVisible property, a collection:
ClearCollect(collect1, {username : User().FullName, sessionid : NewGUID, creationdate : Now()} )
Here I have a Login button. OnSelect property is
Patch('[dbo].[GRV_Details]',collect1)
The patch is giving me error : "Invalid Argument Type (table).
The collection of GUID is causing an issue. It is working fine with global variable. The database is updated at Login button.
Secondly, the GUID must get resetted at database update. How to achieve that? I thought in clearcollect will work and I will be able to clear the entry in collection to reset GUID value.
Regards,
Naresh R

Report
All responses (
Answers (