Dim crReport As ReportDocument After set condition to use........ crReport = New CrystalReport1() crReport = New RSP crReport = New WSP()