When trying to print job traveler, I am getting an field error for Calc_Comment field.

The expression references the field ‘Calc_comment’, which does not exist in the Fields collection. Expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case. —> Microsoft.ReportingServices.Diagnostics.Utilities.RSException:

So I went to look for this field and found this query in the SSRS.

“SELECT T1.JobID_c,T1.JobCode,T1.OverUnder_c,T1.CreateDate,T1.CreatedBy,T1.JobCSR,T1.Calc_CustName,T1.DueDate,T1.IUM,T1.ProdQty,T1.ReqDueDate,T1.StartDate,T1.Calc_MultiJobParts,T1.Calc_OrderQty,

T1.Calc_StockQty,T2.AssemblySeq,T2.BomSequence,T2.Company,T2.[Description],T2.DrawNum,T2.IUM as JobAsmbl_IUM,T2.JobNum,T2.OverRunQty,T2.PartNum,T2.PullQty,T2.RequiredQty,T2.RevisionNum,T2.Calc_BCAsmSeq,

T2.Calc_BCJobNum,T2.Calc_BCPartNum,T2.Calc_BCRevNum,T2.Calc_comment,T3.RevShortDesc,T4.CommentText,T4.DaysOut,T4.DueDate as JobOper_DueDate,T4.EstProdHours,T4.EstSetHours,T4.Machines,T4.OpCode,T4.OpDesc,

T4.OprSeq,T4.PrimaryProdOpDtl,T4.PrimarySetupOpDtl,T4.ProdStandard,T4.RunQty,T4.StartDate as JobOper_StartDate,T4.StdFormat,T4.Calc_BCOpCode,T4.Calc_BCOprSeq,T4.Calc_DispStatus,T4.Calc_OPText,

T4.Calc_OPType,T4.Calc_PurPoint,T4.Calc_VendorId,T4.Calc_VendorName,T4.OpCode_OpDesc,T5.CapabilityID,T5.ConcurrentCapacity,T5.DailyProdRate,T5.OpDtlSeq,T5.ProdCrewSize,T5.ResourceGrpID,T5.ResourceID,

T5.SetUpCrewSize,T5.SetupOrProd,T5.Calc_BCCapabilityID,T5.Calc_BCResGrpID,T5.Calc_BCResourceID,T5.Calc_CapbltyDesc,T5.Calc_ResDesc,T5.Calc_ResGrpDesc,T5.Calc_SchedResDesc,T5.Calc_SchedResGrpDesc,T5.Calc_SchedResGrpID,

T5.Calc_SchedResID,T6.ResourceGrpID as ResourceTimeUsed_ResourceGrpID,T6.ResourceID as ResourceTimeUsed_ResourceID,T6.WhatIf FROM

JobHead_” + Parameters!TableGuid.Value + " T1 LEFT OUTER JOIN JobAsmbl_" + Parameters!TableGuid.Value + " T2 ON T1.Company = T2.Company AND T1.JobNum = T2.JobNum LEFT OUTER JOIN PartRev_" + Parameters!TableGuid.Value + " T3 ON T2.Company = T3.Company AND T2.PartNum = T3.PartNum AND T2.RevisionNum = T3.RevisionNum LEFT OUTER JOIN JobOper_" + Parameters!TableGuid.Value + " T4 ON T2.Company = T4.Company AND T2.JobNum = T4.JobNum AND T2.AssemblySeq = T4.AssemblySeq LEFT OUTER JOIN JobOpDtl_" + Parameters!TableGuid.Value + " T5 ON T4.Company = T5.Company AND T4.JobNum = T5.JobNum AND T4.AssemblySeq = T5.AssemblySeq AND T4.OprSeq = T5.OprSeq LEFT OUTER JOIN ResourceTimeUsed_" + Parameters!TableGuid.Value + " T6 ON T5.Company = T6.Company AND T5.JobNum = T6.JobNum AND T5.AssemblySeq = T6.AssemblySeq AND T5.OprSeq = T6.OprSeq AND T5.OpDtlSeq = T6.OpDtlSeq"

I figured out that Calc_Comment is T2, but I can not figure out what T2 is or how to find the culprit for this issue.