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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Report Design/Lookup Data



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2004, 05:49 PM
slam41
external usenet poster
 
Posts: n/a
Default Report Design/Lookup Data

I have built a database to keep track of employee work refusal. My report
shows all employees. I want to be able to type in a name and pull up all
information by that name and not have to view all employees. Does anyone have
a suggestion?
  #2  
Old October 21st, 2004, 08:21 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Thu, 21 Oct 2004 09:49:06 -0700, slam41
wrote:

I have built a database to keep track of employee work refusal. My report
shows all employees. I want to be able to type in a name and pull up all
information by that name and not have to view all employees. Does anyone have
a suggestion?


Base the Report on a Query which uses a criterion such as

[Enter employee name:]

as a criterion.

Or - better, since it will avoid problems with spelling out the whole
name and getting it right - create a small unbound form frmCrit, with
a combo box cboEmployee. This combo should display the employee's name
but should have the unique EmployeeID as its bound column. Use a Query
with a criterion

=Forms!frmCrit!cboEmployee

as a criterion on the employeeID; base the Report on this query, and
put a command button on frmCrit to launch the report. This will let
you just pull the name from a list rather than having to type it all
in.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #3  
Old October 21st, 2004, 08:25 PM
Ted Allen
external usenet poster
 
Posts: n/a
Default

You can use a query for the record source of your report, and enter a
parameter for the criteria of the employee name. By doing that, you will be
prompted for an employee name automatically when you run the report.

HTH, Ted Allen

"slam41" wrote:

I have built a database to keep track of employee work refusal. My report
shows all employees. I want to be able to type in a name and pull up all
information by that name and not have to view all employees. Does anyone have
a suggestion?

 




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
wrong data is often displayed in report??? Eric Setting Up & Running Reports 2 October 14th, 2004 08:34 AM
Display Parameter from Form on Report sara Setting Up & Running Reports 10 July 19th, 2004 04:54 PM
Excel Worksheets Richard General Discussion 2 July 8th, 2004 04:34 AM


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