Greeting:
I am back with some silly stuff again.
In the attached DB there are two queries as below:
1)With the field “Detailed Description” : Here the hours for certain projects are not showing for Ganesh but for Martin the hours for all the projects are showing.
2)Without the field “Detailed Description”: Here the hours for all projects are showing for both staff.
I am confused how this is happening? I am not able to find the reason with my limited knowledge in MS Access. I need the Option 1 above.
Please help me to solve this issue.
Regards,
VKKT
Query issue in MS Access
-
- 2StarLounger
- Posts: 184
- Joined: 13 Jun 2018, 07:50
Query issue in MS Access
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78382
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Query issue in MS Access
I don't understand why it happens, but you can solve it by changing the Total option for DetailedDescription from Group By to First.
Best wishes,
Hans
Hans
-
- 2StarLounger
- Posts: 184
- Joined: 13 Jun 2018, 07:50
Re: Query issue in MS Access
Thanks Mr. Hans for the response.
Here i noticed one thing if i write different detailed description (Now all the det descrp. are same) then the hours will show in separate lines for all the projects.
I will try this if it is ok asper my requirement.
Thanks
Vkkt
Here i noticed one thing if i write different detailed description (Now all the det descrp. are same) then the hours will show in separate lines for all the projects.
I will try this if it is ok asper my requirement.
Thanks
Vkkt
-
- Administrator
- Posts: 78382
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Query issue in MS Access
Apparently, the length of the text is a problem. If you change DetailedDescription to
Description: Left([DetailedDescription],200)
you can set the Total option to Group By, and all hours will be displayed...
Description: Left([DetailedDescription],200)
you can set the Total option to Group By, and all hours will be displayed...
Best wishes,
Hans
Hans
-
- 2StarLounger
- Posts: 184
- Joined: 13 Jun 2018, 07:50
Re: Query issue in MS Access
Greetings:
Thanks Mr. Hans for identifying the problem and solving the same. You are really a genius in Access.
Regards,
VKKT
Thanks Mr. Hans for identifying the problem and solving the same. You are really a genius in Access.
Regards,
VKKT