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  

Building Report off a Form



 
 
Thread Tools Display Modes
  #1  
Old February 18th, 2006, 12:55 AM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Building Report off a Form

Hello Knight in Shining Armor,

I've built a form and a report. I would like the report to run off the
selections in the form (the report is running off a query). I've written the
following in the control source for the report: Forms![INPUT]![ID] (my form
name is INPUT and ID is one of the fields names I want to link in). I've
opened my forms, inputted my criteria and run my report to get the following
error messages: "MS Access can't find the field "Forms![INPUT]![ID]".

As it currently stands, all of my field names in the form are either (a)
unbound combo boxes that reference other tables (ie SELECT [tblHIRE&TERM].[ID]
) or (b) text boxes that auto-populate based on the criteria selected in the
unbound combo boxes. Does that have anything to do with my problem?

Since I'm doing something wrong, any ideas on how to troubleshoot would be
much appreciated!

Thanks!

--
Message posted via http://www.accessmonster.com
  #2  
Old February 18th, 2006, 03:03 AM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Building Report off a Form

There are some issues with your statements.
-a report doesn't have a control source.
Controls like text boxes have control sources
Reports have record sources
- Forms![INPUT]![ID] would need to reference a "control"
on a form, not a "field" on a form
- If you want to display a value from a control on a form
on a report, you would set a text box control source to
=Forms!FormName!ControlName

If you want to filter a report based on values in controls on reports, check
out links at http://www.fontstuff.com/access/acctut08.htm

--
Duane Hookom
MS Access MVP
--

"Glencannon4424 via AccessMonster.com" u17590@uwe wrote in message
news:5c0a02b3b3972@uwe...
Hello Knight in Shining Armor,

I've built a form and a report. I would like the report to run off the
selections in the form (the report is running off a query). I've written
the
following in the control source for the report: Forms![INPUT]![ID] (my
form
name is INPUT and ID is one of the fields names I want to link in). I've
opened my forms, inputted my criteria and run my report to get the
following
error messages: "MS Access can't find the field "Forms![INPUT]![ID]".

As it currently stands, all of my field names in the form are either (a)
unbound combo boxes that reference other tables (ie SELECT
[tblHIRE&TERM].[ID]
) or (b) text boxes that auto-populate based on the criteria selected in
the
unbound combo boxes. Does that have anything to do with my problem?

Since I'm doing something wrong, any ideas on how to troubleshoot would be
much appreciated!

Thanks!

--
Message posted via http://www.accessmonster.com



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date range on reports Mark_Milly Setting Up & Running Reports 10 January 19th, 2006 03:49 PM
Parameter thru Form Dialog Box for REPORT Sandy Setting Up & Running Reports 16 January 10th, 2006 10:06 AM
Reporting subreport total on main report BobV Setting Up & Running Reports 22 November 1st, 2005 03:19 AM
Help!! I'm running around in circles! CathyA New Users 19 December 12th, 2004 07:50 PM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM


All times are GMT +1. The time now is 07:23 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.