Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2006

Tip: Looking for answers? Try searching our database.

Report expression builder parameter value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve-in-austin - 17 Jan 2006 17:18 GMT
I have an expression to sum three values from a linked (to Excel) table. The
expression was built with expression builder but the reports prompts for
"enter parameter value" with a reference to the table name "CO 2005-11-30".
Why?
Formula:
=[CO 2005-11-30]![Acres-Original Residential]+[CO
2005-11-30]![Acres-Original Commercial]+[CO 2005-11-30]![Acres-Original Multi
Family]

(I checked the field types; they are numeric.)
tina - 17 Jan 2006 17:31 GMT
this formula is in the ControlSource of a textbox control in the report? and
the fields from table [CO 2005-11-30] are part of the report's RecordSource?
if yes to both, then you shouldn't need the table name in the expression at
all, as

=[Acres-Original Residential]+[Acres-Original Commercial]+[Acres-Original
Multi
Family]

if there is any possibility that one of the fields has a null value at any
time, suggest you use

=Nz([Acres-Original Residential], 0)+Nz([Acres-Original Commercial],
0)+Nz([Acres-Original Multi Family], 0)

hth

> I have an expression to sum three values from a linked (to Excel) table. The
> expression was built with expression builder but the reports prompts for
[quoted text clipped - 6 lines]
>
> (I checked the field types; they are numeric.)
Steve-in-austin - 17 Jan 2006 19:16 GMT
This worked great! The expression builder inserted the table name so I
thought it was necessary, obviously it's not. Thanks for the null tip; there
are a lot of null values until the DB is populated.

> this formula is in the ControlSource of a textbox control in the report? and
> the fields from table [CO 2005-11-30] are part of the report's RecordSource?
[quoted text clipped - 26 lines]
> >
> > (I checked the field types; they are numeric.)
tina - 18 Jan 2006 02:08 GMT
you're welcome  :)

> This worked great! The expression builder inserted the table name so I
> thought it was necessary, obviously it's not. Thanks for the null tip; there
[quoted text clipped - 30 lines]
> > >
> > > (I checked the field types; they are numeric.)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.