I have multiple data reports i want to Assign/Create object of crystal report at run time .

i:e
Dim Report As New D1LoanCOLLHindi '''D1LoanCOLLHindi is a Report in project


in stead of this i want :

If RS.State = 1 Then RS.Close
RS.CursorLocation = adUseClient
RS.Open "SELECT FILETYPE FROM temp_reminddata", CON, adOpenDynamic, adLockOptimistic
If RS.RecordCount > 0 Then
dim Myreport=RS!FileType

Dim Report As New Myreport
end if


But this doesnt work..............................!!!


i tried another method

dim obj as new DataReport
obj=app.path(Myreport & "\" & ".dsr"

still its not working...............

Hey please somebody help me i m in much need rgt now.............................