Hi,
Ever write some c# code in a .NET task and the compilation gave you the error below and you know the code is right?
Statement cannot appear outside of a method body/multiline lambda.
Check your language again, it might has reset to VB.NET
Regards,
Erik
Uses Visualcron since 2006.