IF (GetDocumentType.Record.DocumentType.DocumentType = "Doc1")then Doc1.List IF (GetDocumentType.Record.DocumentType.DocumentType = "Doc2")then Doc2.List So if anyone knows please tell me How to put these conditions. Thanks Jigs Mehta