Dear All,
I am using following code at command button named as 'Print'.
While running the project it is giving error at the line :
Set RptTaxArrear.DataSource = TmpRec
"Run Time Error -2147024770(8007007e)'.
Automation Error - The Specified module could not be found."
'******************************
TmpRec As New ADODB.Recordset
If TmpRec.State = 1 Then TmpRec.Close
Set TmpRec = oTaxSlab.TaxArrearListSrvr
If TmpRec.EOF = False And TmpRec.BOF = False Then
Set RptTaxArrear.DataSource = TmpRec
RptTaxArrear.Sections("Section2").Controls("LblReportHeading").Caption = UCase(headinName)
RptTaxArrear.Refresh
RptTaxArrear.WindowState = vbMaximized
RptTaxArrear.Show vbModal
Else
MsgBox "Record Not Found"
End If
End If
'***********************************
Any help will be appreciated....
Thanks in advance.
With Regards,
Sudh11482