Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime error 2103

Status
Not open for further replies.

L0stAngel

Programmer
May 5, 2005
58
US
Hi, I want to make a simple change to a report that we use to make labels. The change is simply adding a textbox to the report that will contain a number. When I add this textbox (and set it's datasource)..save and open the report...I get the error below:

error.jpg

Incase the picture is small, it says:

Run-time error 2103
The report name 'rptBarCodeCartonLabelSampleNew' you entered in either a property sheet or macro is misspelled or refers to a report that doesn't exist.

The name of the report I am opening is named: rptBarCodeCartonLabelNew...not rptBarCodeCartonLabelSAMPLENew

I have no clue why adding a textbox...would do this...
 
Could you provide any information about your textbox such as the control source? What is the Caption property of your report? What properties have you checked for errors?

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
The textbox's datasource is simply "=[Dev]". Dev is a deviation number in a query it the label is using.
 
If [Dev] is the name of a field in your report's record source, I don't understand why the control source is not:
Control Source: [Dev]

I'm not sure why you ignored my other questions :-(

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Sorry about that...heres something that is really freaking me out. Simply adding a LABEL to the report (not binding it to anything at all...just a label with the word 'the' in it for example...also throws this error. The caption of the report is 'rptBarCodeCartonLabelNew'
 
How are you opening the report? It seems to me that it is either a Macro or VB that is causing the error because it has the wrong report name specified.
 
Dim stDocName As String
stDocName = "rptBarCodeCartonLabelNew"
DoCmd.OpenReport stDocName, acNormal
 
Do you get the error if you don't change anything? You may have a corrupt report. If this is the case, consider creating a new report.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top