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
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