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  

Should I base my report on a form or a query?



 
 
Thread Tools Display Modes
  #1  
Old January 6th, 2010, 03:17 PM posted to microsoft.public.access.reports
Nancy via AccessMonster.com
external usenet poster
 
Posts: 27
Default Should I base my report on a form or a query?

I've created a database for a project at work that will track production and
piece work. I've started with two tables: Employee Data and Weekly Data.
These two tables contain the information that supplies my Form (also called
Weekly Data) with the data it needs to pull from. This form allows
supervisors to enter in daily production data for each employee. They enter
in the employee's clock number and it automatically generates the employee's
name (which is pulled from the Employee Data table.) The code I used in the
employee's name text box is: = [Clock Number].Column(1)

Now I am trying to generate a report from the Weekly Data form. I created a
report based on the form, but when it shows the information that I entered,
it only shows the employee's clock number and not the name on the report. I'm
assuming this is because there is actually no data entered into that box, it
is just generated. I also tried creating a query using both tables as the
foundation and linked the tables at the appropriate sources but when I open
the report it shows no data from my Weekly Data form.

So what is the best way to make a report that shows data from the Weekly Data
form (including the employee's name which is automatically generated)? Thanks
in advance for any suggestions!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/201001/1

  #2  
Old January 6th, 2010, 03:43 PM posted to microsoft.public.access.reports
Steve[_77_]
external usenet poster
 
Posts: 1,017
Default Should I base my report on a form or a query?

Hello Nancy,

Based on your description, It does not sound like your tables are designed
correctly. Before tackling the problem you think you have, you need to have
your tables st up correctly. Please post the fields in each of your tables
and we will review what you have and offer suggestions if needed.

Steve



"Nancy via AccessMonster.com" u57097@uwe wrote in message
news:a1b5d8dfdfa3b@uwe...
I've created a database for a project at work that will track production
and
piece work. I've started with two tables: Employee Data and Weekly Data.
These two tables contain the information that supplies my Form (also
called
Weekly Data) with the data it needs to pull from. This form allows
supervisors to enter in daily production data for each employee. They
enter
in the employee's clock number and it automatically generates the
employee's
name (which is pulled from the Employee Data table.) The code I used in
the
employee's name text box is: = [Clock Number].Column(1)

Now I am trying to generate a report from the Weekly Data form. I created
a
report based on the form, but when it shows the information that I
entered,
it only shows the employee's clock number and not the name on the report.
I'm
assuming this is because there is actually no data entered into that box,
it
is just generated. I also tried creating a query using both tables as the
foundation and linked the tables at the appropriate sources but when I
open
the report it shows no data from my Weekly Data form.

So what is the best way to make a report that shows data from the Weekly
Data
form (including the employee's name which is automatically generated)?
Thanks
in advance for any suggestions!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/201001/1



  #3  
Old January 6th, 2010, 04:26 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Should I base my report on a form or a query?

Why not continue the thread you started yesterday where Marsh is providing
excellent assistance. When you reply to Marsh, please keep in mind that forms
don't have data, they only display data from tables or queries. Your report
should be based on a query.

Post the SQL view of your report's record source query back in the other
thread. Then provide the Control Source of the control that doen't work as
expected. I think this control source simply needs to be a field name from
your record source.

Also, please do yourself a favor and use a standard naming convention. I
would find two different objects sharing the same name (Weekly Data) very
confusing. Consider removing spaces from objects names so you might end up
with:
tblWeeklyData
frmWeeklyData
--
Duane Hookom
Microsoft Access MVP


"Nancy via AccessMonster.com" wrote:

I've created a database for a project at work that will track production and
piece work. I've started with two tables: Employee Data and Weekly Data.
These two tables contain the information that supplies my Form (also called
Weekly Data) with the data it needs to pull from. This form allows
supervisors to enter in daily production data for each employee. They enter
in the employee's clock number and it automatically generates the employee's
name (which is pulled from the Employee Data table.) The code I used in the
employee's name text box is: = [Clock Number].Column(1)

Now I am trying to generate a report from the Weekly Data form. I created a
report based on the form, but when it shows the information that I entered,
it only shows the employee's clock number and not the name on the report. I'm
assuming this is because there is actually no data entered into that box, it
is just generated. I also tried creating a query using both tables as the
foundation and linked the tables at the appropriate sources but when I open
the report it shows no data from my Weekly Data form.

So what is the best way to make a report that shows data from the Weekly Data
form (including the employee's name which is automatically generated)? Thanks
in advance for any suggestions!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/201001/1

.

 




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 11:46 AM.


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