-- Awaiting my attention exec [dbo].[GetFormsByUserIDAdvanced] @UserID = 9, @FormID = 1, @RefNumberType = null, @RefNumberOperator = null, @RefNumber = null, @MISReference = null, @ProjectNameOperator = null, @ProjectName = null, @FundingAgentOperator = null, @FundingAgent = null, @CompanyID = null, @ProjectTypeID = null, @ProjectCategoryID = null, @MixedCategory = null, @ProjectCategoryOtherAndOr = null, @IsNew = null, @ISRDP = null, @Urban = null, @LabourIntensive = null, @EPWP = null, @SMIFProject = null, @BucketEradication = null, @ProjectStepID = null, @WorkflowStatus = 100, @DateType = null, @FromDate = null, @ToDate = null, @MyFormsOnly = 0, @MyProjectsOnly = 0, @RowCount = 10000, @CreateResultsTable = 1