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

Using Dates as Criteria to Display Records in FORM



 
 
Thread Tools Display Modes
  #1  
Old December 18th, 2006, 12:16 AM posted to microsoft.public.access.forms
R Marko
external usenet poster
 
Posts: 28
Default Using Dates as Criteria to Display Records in FORM

Employees who work on a Client File will enter the payroll information on a
continuous form linked to the Client Record. To edit employee information,
the employee record is accessed through the Client Record.

At the end of a pay period, I would like to have access to a list of all
employees who have worked during that pay period so I have designed a form to
display a list of part time employees, sorted by date worked, showing the
hours they worked. When I open the form, all of the records in the table are
displayed. I would like to display only those employees who have worked
within a particular pay period. How can I make that happen?


To access a REPORT that displays the identical information I need,
I set the criteria to…..
=[forms]![msgReportRange]![Between] And =[forms]![msgReportRange]![And]


And then enter the begindate and enddate of the payroll period. But I
cannot edit the information in a report.

How can I open the newly designed FORM? Any thoughts?

R Marko
  #2  
Old December 18th, 2006, 03:50 AM posted to microsoft.public.access.forms
tina
external usenet poster
 
Posts: 1,997
Default Using Dates as Criteria to Display Records in FORM

the same way you did with a report. if you're opening the form from another
form (a switchboard or main menu, perhaps), then you can add controls to
that first form for the user to enter the start/end dates, and refer to
those form controls in the query underlying the second form.

hth


"R Marko" wrote in message
...
Employees who work on a Client File will enter the payroll information on

a
continuous form linked to the Client Record. To edit employee

information,
the employee record is accessed through the Client Record.

At the end of a pay period, I would like to have access to a list of all
employees who have worked during that pay period so I have designed a form

to
display a list of part time employees, sorted by date worked, showing the
hours they worked. When I open the form, all of the records in the table

are
displayed. I would like to display only those employees who have worked
within a particular pay period. How can I make that happen?


To access a REPORT that displays the identical information I need,
I set the criteria to...
=[forms]![msgReportRange]![Between] And =[forms]![msgReportRange]![And]


And then enter the begindate and enddate of the payroll period. But I
cannot edit the information in a report.

How can I open the newly designed FORM? Any thoughts?

R Marko



  #3  
Old December 18th, 2006, 04:14 AM posted to microsoft.public.access.forms
R Marko
external usenet poster
 
Posts: 28
Default Using Dates as Criteria to Display Records in FORM

Thank you for your response.

How can I do that? I already have a form that will request a begin and end
date. Where do I enter the criteria?

"tina" wrote:

the same way you did with a report. if you're opening the form from another
form (a switchboard or main menu, perhaps), then you can add controls to
that first form for the user to enter the start/end dates, and refer to
those form controls in the query underlying the second form.

hth


"R Marko" wrote in message
...
Employees who work on a Client File will enter the payroll information on

a
continuous form linked to the Client Record. To edit employee

information,
the employee record is accessed through the Client Record.

At the end of a pay period, I would like to have access to a list of all
employees who have worked during that pay period so I have designed a form

to
display a list of part time employees, sorted by date worked, showing the
hours they worked. When I open the form, all of the records in the table

are
displayed. I would like to display only those employees who have worked
within a particular pay period. How can I make that happen?


To access a REPORT that displays the identical information I need,
I set the criteria to...
=[forms]![msgReportRange]![Between] And =[forms]![msgReportRange]![And]


And then enter the begindate and enddate of the payroll period. But I
cannot edit the information in a report.

How can I open the newly designed FORM? Any thoughts?

R Marko




  #4  
Old December 18th, 2006, 06:16 AM posted to microsoft.public.access.forms
tina
external usenet poster
 
Posts: 1,997
Default Using Dates as Criteria to Display Records in FORM

in the query underlying the form.

hth


"R Marko" wrote in message
...
Thank you for your response.

How can I do that? I already have a form that will request a begin and

end
date. Where do I enter the criteria?

"tina" wrote:

the same way you did with a report. if you're opening the form from

another
form (a switchboard or main menu, perhaps), then you can add controls to
that first form for the user to enter the start/end dates, and refer to
those form controls in the query underlying the second form.

hth


"R Marko" wrote in message
...
Employees who work on a Client File will enter the payroll information

on
a
continuous form linked to the Client Record. To edit employee

information,
the employee record is accessed through the Client Record.

At the end of a pay period, I would like to have access to a list of

all
employees who have worked during that pay period so I have designed a

form
to
display a list of part time employees, sorted by date worked, showing

the
hours they worked. When I open the form, all of the records in the

table
are
displayed. I would like to display only those employees who have

worked
within a particular pay period. How can I make that happen?


To access a REPORT that displays the identical information I need,
I set the criteria to...
=[forms]![msgReportRange]![Between] And

=[forms]![msgReportRange]![And]

And then enter the begindate and enddate of the payroll period. But I
cannot edit the information in a report.

How can I open the newly designed FORM? Any thoughts?

R Marko






 




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 10:12 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.