In the OnVisible property of a form, if form mode is NOT New then collect multiple collections with one Collect function, but if form mode IS new use Clear function to clear multiple collections with one function. I know that my syntax is off but I am not finding a solution out there. The following is my function:
If(
frmEditDisplayAll.Mode <> New,
Collect(
(colMgrPMCorpContract,
Gallery1.Selected.MgrPMCorpContractEmp)
&&
(colMgrPMContractOnly,
Gallery1.Selected.MgrPMContractEmp)
&&
(colMgrPMOfficersStaff,
Gallery1.Selected.MgrPMOfficersStaff)
),
Clear(
(colMgrPMCorpContract) && (colMgrPMContractOnly) && (colMgrPMOfficersStaff)
)
)
Thank you in advance for your assistance!