Stampa pratiche senza negozi
#$LET Testo="SELECT ComEseComTitAbi.IdTitAbi, ComEseComTitAbi.IdVar FROM ComEseComTitAbi LEFT JOIN ComEseComEseComTitAbi on (ComEseComTitAbi.IdTitAbi=ComEseComEseComTitAbi.IdTitAbi And ComEseComTitAbi.IdVar=ComEseComEseComTitAbi.IdVar) WHERE ComEseComEseComTitAbi.IdVar  is NULL"#
#$LOOP(N)#
#$JOIN(ComEseComTitAbi)#
#$IdTitAbi#	#$>ComEseComTabTipoAut(IdTipoAut=IdTipoAut)#	#$>ComEseComTabTipoVariazione(IdTipoVariazione=IdTipoVariazione)#	#$JOIN(ComeseComtitAbiIntestatario,Intestatario=-1)#
#$JOIN(Anagrafe,IdPersona=IdIntestatario)##$Intestazione##$ENDJOIN#
#$ENDJOIN#
	
#$ENDJOIN#
#$ENDLOOP#
#$ENDJOIN#