Solved

How to fix a report broken link

Posted on 2008-10-22
10
210 Views
Last Modified: 2013-11-28
i designed a report, which was working fine, the recordsource was based on a query, after i redesign the db, i delete 1 table and change some fields, so obviously the report was giving me some errors, so i change all the broken links, the report is showing all the proper and correct fields, but whenever i call the report is still asking me for those old fields. even i fix the broken links, the report is still asking me for those deleted fields.
what else can i do to fix this.

best regards
0
Comment
Question by:titorober23
  • 5
  • 3
  • 2
10 Comments
 
LVL 16

Expert Comment

by:Sheils
ID: 22782776
Sounds like there was some event procedures that were liked to the old fields. Check the event tab of the report property. See if there is and event procedure in the on open or on load.

Also what are you using to open it. A button I guess. If so what did you use to set the command macro or vba
0
 

Author Comment

by:titorober23
ID: 22782779
i check all that and fixed, but it's still asking me for old parameters when i call the report
0
 
LVL 16

Expert Comment

by:Sheils
ID: 22782784
how are you opening the report
0
 

Author Comment

by:titorober23
ID: 22782789
a button with vba code, i check that and there is no reference to the old fields that i delete
0
 
LVL 16

Expert Comment

by:Sheils
ID: 22782805
OK try to open the report from the database window That will tell you if the problem is in the form or the button.

If you have the same problem with the form, try to open the query

This exercise will tell us exactly where to look for the problem
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:titorober23
ID: 22782811
the report use some parameters based on a form, so i have to open from the form's button
0
 
LVL 16

Expert Comment

by:Sheils
ID: 22782830
then check textboxes from which you are extraing the parameters and make sure their links are fixed.

Having said that you can still open the report from the database windows as it will preserve the parameters until you change it again by reopening it from the form. Unless you have inserted a code to remove them when you close the report
0
 
LVL 16

Expert Comment

by:Sheils
ID: 22782837
You may have also changed the names of the textboxes in the form and fail to make the changes in the vba
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 150 total points
ID: 22783949
titorober23,

Check the Sorting and Grouping Dialog box as well.
You may have set up Sorts or Groups for some of the fields that no longer exist, so you will have to delete them from here as well.

Jeff
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 22813808
;-)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now