Re: Reference Error



On Jul 23, 4:38 pm, "ruralguy via AccessMonster.com" <u12102@uwe>
wrote:
Try "refreshing" your references.http://www.accessmvp.com/djsteele/AccessReferenceErrors.html

tonym...@xxxxxxxxx wrote:
I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))

I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.

I think there has to be some default references that have gotten
deleted. Can someone help please!!!!

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...

I am having another problem in addition to this one. I don't know if
they are related. I keep getting a error popping up saying:

The report name '~TMPCLP202761' you entered in either the property
sheet or macro is misspelled or refers to a report that doesn't exist.

I have nor ever have had a report by this name. But every time I try
to edit the code window, this error pops up. It even happens when I
try to use the immediate window to invoke test functions.

.



Relevant Pages

  • Re: Can I manually reset page numbers?
    ... >> for this report. ... add a control to the page footer ... Open the report's code window. ... Find the Private Sub PageFooter_Format(Cancel As Integer, ...
    (microsoft.public.access.reports)
  • Re: dynamic report
    ... Or are you saying that some ... you can add a text control on your report that is wide enough ... Depending on the kind of entry I have to display ...
    (microsoft.public.access.reports)
  • Re: iif syntax in Access report
    ... > You need to modify control properties in the code window. ... > MS Access MVP ... >>I want to change the size of a text box field in an Access report based ...
    (microsoft.public.access.reports)
  • Re: visible only if data is recorded
    ... I would guess you are saying that the report leaves blank vertical ... suggest you search for your answers before posting a new thread. ... > Is it possible to setup a report control to display only if data is ...
    (microsoft.public.access.reports)
  • Re: iif syntax in Access report
    ... You need to modify control properties in the code window. ... MS Access MVP ... >I want to change the size of a text box field in an Access report based on ...
    (microsoft.public.access.reports)