Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error 13 Type mismatch subreport

Status
Not open for further replies.

mamartin

Programmer
Aug 10, 2001
75
US
I recently upgraded from CR8 to CR9. Now, one of my applications is receiving a run-time error 13 type mismatch. It is in the section of VB code where I set the recordselectionformula for a subreport. I have a variable SubRptPlaces defined as CRAXDRT.Report in General Declarations and in the Form Load section I have the line Set SubRptPlaces = Report.Subreport1.OpenSubreport. This is the line that debug shows as being in error. Any ideas what could be wrong? This report ran fine under CR8. NOTE: I have 2 subreports in my main report and both require recordselectionformulas.

Thanks,
Michael A. Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top