What is Error Number 713, Application-Defined or Object-Defined Error

What is the cause of Error Number 713, "Application-Defined or Object-Defined Error".

Anybody know if there is a general cause for this error.  I just developed several VB reports using the VB report writer.  They work perfectly on my development machine but when I moved the app to another machine I got the 713 error when I tried to print.

The code to initiate the Print is:

Public Sub Print0ConsequenceCol()

Dim rsConsq0Info As New ADODB.Recordset

With rsConsq0Info
' data
  .Fields.Append "rCondesc1", adVarChar, 100
  .Fields.Append "rLabel1", adVarChar, 100
  .CursorType = adOpenKeyset
  .LockType = adLockOptimistic

  Dim f As New frmDescription
' labels (but really text boxes on MainInfo Page)
    ![rConDesc1] = f!ConDesc1.Text
    ![rLabel1] = f!Label1.Caption
    Set f = Nothing
End With
With rptConsequenceInfo0
  Set .DataSource = rsConsq0Info
  .DataMember = rsConsq0Info.DataMember
'  .Orientation = 2    ' rptOrientLandscape
    If PrintEm = True Then
        .Show vbModal
    End If

End With
Set rsConsq0Info = Nothing


End Sub
Who is Participating?
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
Did you install the application on that other machine or just copied the executable ?
I guess it will need some depending dll's, that are on your development pc, but not on your other pc.

Try to make a setup-program, run the setup and try again.
(deployment & package wizard)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.