Solved

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

Posted on 2004-10-19
2
918 Views
Last Modified: 2008-01-09
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
  .Open


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

End With
'
Set rsConsq0Info = Nothing

'rsConsq0Info.Close

'
End Sub
0
Comment
Question by:mlcktmguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 12356134
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)
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12357112
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question