Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Re: Query using UDF field to link to Activity

$
0
0

Hi

I think this is working successfully now.

 

Thank you for the help with this

 

Regards,

Karen

 

SELECT  T0.[CardName], T1.Address, T1.U_Territory, T1.U_NxtVisitDue AS 'Nxt Visit Due (Approved)', T1.U_LastVisit AS 'Last Visit (Approved)', T1.U_ExtraVisit1 AS 'Extra Visit 1', T2.Details

FROM  OCRD T0

JOIN CRD1 T1 on T1.CardCode=T0.CardCode

LEFT JOIN OCLG T2 on T2.ClgCode = T1.U_ExtraVisit1

WHERE DateDiff(dd,GetDate(), T1.U_NxtVisitDue) <600


Viewing all articles
Browse latest Browse all 8538

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>