Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / January 2006

Tip: Looking for answers? Try searching our database.

Report error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gox - 12 Jan 2006 13:29 GMT
Hi all!

My MS Access application (create version: 2k Access) running on PC with
2003 Office.
I work with oracle ODBC driver.
Everything is fine except one report (other report run well). This
report brings back error:

3012. Object <name> already exists.

All reports is created by same way and use same mechanism.

Any suggest? Jet problem maybe?

Thanks!
Tim Marshall - 12 Jan 2006 13:37 GMT
 > 3012. Object <name> already exists.

> All reports is created by same way and use same mechanism.
>
> Any suggest? Jet problem maybe?

You haven't given us enough information.

You need to look at and consider the following to narrow down your area
of concern:

1) what code is being run with any part of this report?

2) what query/SQL is associated with the report?

We have no idea what any of this could be.
Signature

Tim    http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto  "TIM-MAY!!" - Me

Gox - 12 Jan 2006 19:17 GMT
> 1) what code is being run with any part of this report?

Tim thanks for reply.

I call report from form and I use only this:

stWhere = ""
stDocName = "My_report"
DoCmd.OpenReport stDocName, acPreview, , stWhere

> 2) what query/SQL is associated with the report?

This is a potential problem because I create dynamic query regarding
parameters on form.
First of all, I run my function queryIsExist(MyQueryName) /true-false.
If exist delete query and after that create new query with same name.
If not exist don't delete, only create new query with same name.

This is a main part of function:

  For Each dcm In dcms
    If dcm.Name = MyQueryName Then
      queryIsExist = True
      Exit Function  ' Quit function once form has been found.
    End If
  Next

This query is Record Source of report.

On my environment (WinXP-office 2k, and Win2k-office 2k) report run well.

I hope, I gave some more information.

Regards,
Gox
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.