473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Access Help

Hi i am jimmy,
I need help with access.
I created a crosstab query which has row headings as employee name and column heading as job type and the calculated field as hrs.this query is used to give me list of employees worked on a particular job and particular hrs.But now i want another query with the same details but worked from a starting date to ending date.I used the" Between... and " command .All I can do is give the dates and print the report.But i need a user to type his own dates and get the output from that.

Kindly help me,

Thanks,
jim
Jul 15 '07 #1
4 1088
hariharanmca
1,977 1GB
Hi i am jimmy,
I need help with access.
I created a crosstab query which has row headings as employee name and column heading as job type and the calculated field as hrs.this query is used to give me list of employees worked on a particular job and particular hrs.But now i want another query with the same details but worked from a starting date to ending date.I used the" Between... and " command .All I can do is give the dates and print the report.But i need a user to type his own dates and get the output from that.

Kindly help me,

Thanks,
jim

Hi,

Welcome to TSDN




Good luck
Jul 16 '07 #2
.All I can do is give the dates and print the report.But i need a user to type his own dates and get the output from that
User specified criteria is usually entered into a control of somekind. Could you maybe run the report with a command button?? Sounds like your report is based on the query, so that would probably work...

You could enter your control names in your code line....
Between [source1] AND [source2]
Jul 16 '07 #3
well i have a crosstab query and i tried to give dates but it says microsoft jet database engine does not recognize as valid field name...

thank you
Jul 17 '07 #4
mlcampeau
296 Expert 100+
Not sure if this will help. I have just a regular query that I pass date parameters to in the following manner:

Expand|Select|Wrap|Line Numbers
  1. SELECT CDate([Enter the beginning performance review date]) AS BegDate, CDate([Enter the end performance review date]) AS EndDate
  2. FROM tablename
  3. WHERE (((table.field)>=CDate([Enter the beginning performance review date]) And (table.field)<=CDate([Enter the end performance review date]))) OR (((table.field2)>=CDate([Enter the beginning performance review date]) And (table.field2)<=CDate([Enter the end performance review date])))
Please note that I obviously removed a lot of info from this sql statement, and just left the pertinent info. Where it says table.field, that would be what you are comparing the beginning date to and table.field2 is the what you are comparing the end date to.

Hope this helps.....
Jul 17 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
2
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting...
28
by: Neil Ginsberg | last post by:
I have a client who is using Access 2002/2000 (the database itself is written in 2000), and is considering migrating to Access 2003. Any recommendations on whether Access 2003 is worth the migrate,...
27
by: Bruce Dodds | last post by:
I recently started using Access 2003 for the first time. I wanted to pass on some comments about the Help system to Access MVPs who frequent this board. I'm doing this in the hope that some of...
62
by: Ecohouse | last post by:
I was just wondering if there was any way to use a toolbar in Outlook 2002 in Access 2002? I want to create a custom toolbar in Access similar to the Calendar toolbar in Outlook. Any ideas?
57
by: TC | last post by:
I'd like to open a discussion about the state of the industry. For the past year, I've been unable to find competent Access developers available for hire. I'm worried about that. I think there's...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
7
by: Cheryl Langdon | last post by:
Does anyone know if there is a way to globally turn off ALL control tips in Access 2003 using VBA code? Thanks. --- CL
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.