A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#error and #name?



 
 
Thread Tools Display Modes
  #1  
Old September 13th, 2004, 07:45 AM
confused
external usenet poster
 
Posts: n/a
Default #error and #name?

Hiya
I am getting #error and #name? errors on my report. If anyone could help me
out with either of these I would really appreciate it. Details are below

Thanks very much for your help!

#error
the report is linked to a query, and contains text fields to display each
row of the query,
eg Controlname = TxtSoftware, CountrolSource: Software (the field in the
query) At the bottom I have a "totals" row:
ControlSource = Sum([Software])
I have also tried ControlSource = sum([TxtSoftware]) but in both cases I get
#error displayed!

#name?
The report is linked to a query, but I want a field that does a count of
rows from a different table. so, control source = Select count(*) from tbl1
where Software = 5.
However i get a 3name? error!!

Im very confused!

  #2  
Old September 13th, 2004, 02:17 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

So, you are attempting to Sum() a text field? If Software is a text field
containing all numeric values, you can try:
=Sum(Val(Software))
Also, make sure the sum is in the a group or report footer, not the Page
footer.

--
Duane Hookom
MS Access MVP
--

"confused" wrote in message
...
Hiya
I am getting #error and #name? errors on my report. If anyone could help

me
out with either of these I would really appreciate it. Details are below

Thanks very much for your help!

#error
the report is linked to a query, and contains text fields to display each
row of the query,
eg Controlname = TxtSoftware, CountrolSource: Software (the field in the
query) At the bottom I have a "totals" row:
ControlSource = Sum([Software])
I have also tried ControlSource = sum([TxtSoftware]) but in both cases I

get
#error displayed!

#name?
The report is linked to a query, but I want a field that does a count of
rows from a different table. so, control source = Select count(*) from

tbl1
where Software = 5.
However i get a 3name? error!!

Im very confused!



  #3  
Old September 13th, 2004, 06:40 PM
Fons Ponsioen
external usenet poster
 
Posts: n/a
Default

An other item to check isto make sure that any textbox
with a calculated value is name different than a field
name, for instance if you have a "price" field, and in the
report you make the textbox with a formula like
= [price] * [quantity]
you must make sure that the textbox is not named "price"
but rather something like "TotalPrice"
Hope this helps.
Fons
-----Original Message-----
So, you are attempting to Sum() a text field? If Software

is a text field
containing all numeric values, you can try:
=Sum(Val(Software))
Also, make sure the sum is in the a group or report

footer, not the Page
footer.

--
Duane Hookom
MS Access MVP
--

"confused" wrote in

message
...
Hiya
I am getting #error and #name? errors on my report. If

anyone could help
me
out with either of these I would really appreciate it.

Details are below

Thanks very much for your help!

#error
the report is linked to a query, and contains text

fields to display each
row of the query,
eg Controlname = TxtSoftware, CountrolSource: Software

(the field in the
query) At the bottom I have a "totals" row:
ControlSource = Sum([Software])
I have also tried ControlSource = sum([TxtSoftware])

but in both cases I
get
#error displayed!

#name?
The report is linked to a query, but I want a field

that does a count of
rows from a different table. so, control source =

Select count(*) from
tbl1
where Software = 5.
However i get a 3name? error!!

Im very confused!



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.