Can anyone spot my syntax error?
Error message: Expected operator. We expect an operator such as +,*, or & at this point in the formula.
On a label's Default section:
If(varEditType="AddActivity",
LookUp('Visits For QSA',
ID=_listItemID,
'Title Date'),
EVEnterVisitForm.LastSubmit.'Title Date');
My intent was that if variable 'varEditType' is set to "AddActivity" then it grabs the 'Title Date' from the list 'Visits For QSA' that has the ID that matches '_listItemID'. If that statement was not true, I wanted it to grab EVEnterVisitForm.LastSubmit.'Title Date'.
I'm not sure where my error is.