Error Number 20000 - help please 
Author Message
 Error Number 20000 - help please

Error Number 20000 when trying to use the Crystal Reports
Custom Control in VB4 16Bit
=========================================================
I am using the Sample Crystal reports Project, CROCXSAM to test
the use of Crystal in my VB 4 app.

When I run the sample program and request a report print I
get a blank message.  This is the LastErrorString from the Crystal
Control.  I modified the the code;

........
On Error GoTo ErrorHandler
        Report1.Action = 1
    Exit Sub
ErrorHandler:
    Dim errnum As Long
    Dim errdesc As String
    Dim errsource As String
    Dim errdll As String
    Dim rptmsg As String
    Dim rptnum As Long

    errnum = Err.Number
    errdesc = Err.Description
    errsource = Err.Source
    errdll = Err.LastDllError
    rptmsg = Report1.LastErrorString
    rptnum = Report1.LastErrorNumber

    MsgBox "Number     : " & errnum & vbCrLf & _
           "Description: " & errdesc & vbCrLf & _
           "Source     : " & errsource & vbCrLf & _
           "DLL        : " & errdll & vbCrLf & _
           "RPTMSG     : " & rptmsg & vbCrLf & _
           "RPTNUM     : " & rptnum
..............
and get the following results;
 Number  20000
 Description
 Source  CRYSTL16
 DLL  0
 RPTMSG
 RPTNUM  0

I can't find message number 20000 and do not know why I
can't get even this sample app to work.  Crystal reports
itself runs ok.  The MDB and the RPT are in the listed
locations.



Mon, 20 Aug 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB4 and Crystal Reports - report error 20000 HELP!!

2. Help: ActiveX, Error '20000', p2lodbc

3. RetrieveSQLQuery returns error 20000 ('No Error')

4. Error 20000: No error.

5. :-) The Error: No Error (20000)

6. Run Time Error 20000, No Error

7. Run Time Error 20000, No Error

8. error 20000- No Error

9. Run-time error 20000 ?

10. crystal reports and 20000 error

11. VB4.0 and Crystal Reports Error 20000

12. Run-time error 20000

 

 
Powered by phpBB® Forum Software