Donate SIGN UP

Healp About MS Access 2000

Avatar Image
Husnain55 | 18:51 Thu 27th Mar 2008 | Computers
1 Answers
I want to make a data base for transporation. I have made 04 column in a table. 1-VAN # , 2- Shift, 3- Route and total.
I wish that when I will feed data in first three column for example
VAN # Shift Route
50 A CITY
50 A CITY
100 B CITY

I WISH THAT IN FOURTH COLUMN ANS MUST COME
FOR FIRST TWO LINE 2
AND
FOR THIRD LINE 1
Actually i want count data if van # Shift and Route have same data it must count the rows.
I hope Sir you will healp me in this matter
Thanks
Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by Husnain55. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
you need to create a query that reads:

select [van #],shift,route,count(*)
from my table
group by [van #],shift,route

which will output :
Van# shift Route count
50 A City 2
100 B City 1

from the data given

Only 1 answerrss feed

Do you know the answer?

Healp About MS Access 2000

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.