report question

J

Jessica

Hello All,

I've created a database using Access 2003 and converted it to Access 97
to use at work but there are acouple of fields in my report that when
previewed the report shows Name? and #Name? for the following two
procedures. Does anyone know why it would show the fields in the reports
that way. FYI I then opened the reports both in 97 and 2003 format when
I got home and the reports displayed every field fine.



=IIf(IsDate("#2/29/" & Year(Date()) &
"#"),Format(DatePart("y",Date()),"000")+400 &
Right(Format(Date(),"yy"),1),IIf(Date()>=DateSerial(Year(Date()),3,1),Format(DatePart("y",Date())+1,"000")+400
& Right(Format(Date(),"yy"),1),Format(DatePart("y",Date()),"000")+400 &
Right(Format(Date(),"yy"),1)))

and

=Time()


Thanks,
David
 
D

Douglas J. Steele

Could be a problem with the References collection at work.

References problems can be caused by differences in either the location or
file version of certain files between the machine where the application was
developed, and where it's being run (or the file missing completely from the
target machine). Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module. Select Tools
| References from the menu bar. Examine all of the selected references.

If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile All Modules), go back in
and reselect them.

If none have "MISSING:", select an additional reference at random, back out
of the dialog, then go back in and unselect the reference you just added. If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top