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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgraded to Crystal Reports 9, now having error

Status
Not open for further replies.

B1naryPro

IS-IT--Management
Jan 20, 2002
114
US
I upgraded to Crystal Reports 9 from Crystal 6. I have a vb app with the following code:

If txtCAOKey > " " Then
strCAO = txtCAOKey.Text
strAction = txtActionKey.Text
strFormula = "{CAO.CAOKey} = " & Trim(strCAO) & " and {CAOActions.ActionKey} = " & (strAction)

rptCAO.ReportFileName = gsReportPath & "\CAOReq.rpt"
rptCAO.SelectionFormula = strFormula
rptCAO.WindowLeft = 0
rptCAO.WindowTop = 0
rptCAO.WindowState = 2
rptCAO.Action = 1

Now i receive the run time error '20515' E in visual basic. Any Ideas

JPBinary
MCSE, MCSA
 
Typically the 20515 error is related to a formula error, but in looking at your code snip, I must ask if (and suspect) you were using the OCX control in your v6 app?

This dev tool is no longer shipping/supported as of v9 so you will need to migrate your application to one of the other suported tools like the RDC.

Here is a paper for you to refer to


Cheers,

SurfingGecko
Home of Crystal Ease
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top