I'm trying to change view selection formula by script with this selection formula:
formula = "SELECT (@Modified = [" & Left(doc1.LastModified,10) & "]) & form = ["& Cstr(doc1.form(0)) &"]"
But when I try to execute it Notes retrive me the following error:
Notes error: Unknown [KeyWord] for @Function (SELECT (@Modified = [03/02/2015]) & form=[myform])