473,386 Members | 1,973 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,386 software developers and data experts.

Ranking in Access Table/Query/Report

Hi I have created a tablein acess 07 with three fields; admno, name, and Mark/100. My problem is that i need to have a field with position of this students based on the marks i.e the one with highest mark be position 1 and the one with least marks to be the last. i hope to rank those which tie in marks as well. Kindly help
example. Table Name is "Students Marks"
Admno Name marks
1200 Jane 56
Jul 13 '11 #1
10 4279
Rabbit
12,516 Expert Mod 8TB
You can use a subquery to count how many have marks larger than the student to get their rank.
Jul 13 '11 #2
NeoPa
32,556 Expert Mod 16PB
Indeed. Always add one to the value ascertained of course for the ordinal number (rank).
Jul 13 '11 #3
thanks but what are the procedures, say after creating the query what do i do or which codes do i enter?
Jul 14 '11 #4
Rabbit
12,516 Expert Mod 8TB
Well, after creating the query, you're done. The query is what ranks the records.
Jul 14 '11 #5
NeoPa
32,556 Expert Mod 16PB
Ben, You need to be much clearer and more precise about what you want. Rabbit's solution fits your question. If that's not good enough, that simply reflects the shortcomings of your question. If you need more help then make that clear in the question. I'm afraid your latest post doesn't come close to doing that.
Jul 14 '11 #6
thanks but pliz help i'm not yet successfull take for instance students with marks 70,56,65,41,81,42,56 i wanted the query that will give their positions as 2,4,3,6,1,5,4 respectivelly, by creating a field that is. help.
Jul 19 '11 #7
Rabbit
12,516 Expert Mod 8TB
You have yet to show how you implemented our suggestion.
Jul 19 '11 #8
NeoPa
32,556 Expert Mod 16PB
Ben Cherry:
thanks but pliz help i'm not yet ...
When it's been made very clear what you need to do to get help, why would you not bother to do that, and instead post in a way that indicates you have not ever even read any of the threads put up to indicate what is, and is not, acceptable posting in the forums.

If you want further help then start by following some instructions. Try out what has been suggested and give feedback, or explain why you are unable to try it out. We're not about to simply do it for you, but we can respond to intelligent comments. "Pliz help" does not fall into that category.
Jul 20 '11 #9
I have tried as much as i can, but i'm not a wizard in the use of Ms access. I though i could do much better if given procedures to follow.
Jul 24 '11 #10
NeoPa
32,556 Expert Mod 16PB
Your best is to ignore what's already been posted? Sounds strange.

BTW. This is nothing to do with your competence at Access. We frequently deal with people who have little to no experience with it. This is to do with communication and attitude. Most people are prepared to put some effort in themselves, even if they struggle and don't get it right. Those that simply say "Do it for me." - especially those whose posts are full of errors (to indicate they couldn't even be bothered to read it themselves before sending it) don't even fulfil the requirements of posting on here.

So what type of member are you going to be?
Jul 24 '11 #11

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

Similar topics

1
by: tabonni | last post by:
Hi All I connected MS Exchange Server to MS Access database using Access link table function. I can open the database table and see the fields and data inside the link table. However, the table...
8
by: delete table with Visual Basic 6 | last post by:
Dear developer, I have an error message when I try to delete or drop Microsoft Access XP table with ADOX in Visual Basic 6. I use the ADOX.Catalog and ADOX.table to create and delete or drop table...
3
by: nvx | last post by:
Hello everyone... Just for the record, I'm a newbie to this data binding thing... In my C# application I need to bind a cell of an Access database table to a multiline TextBox. How should I do...
1
by: SSG | last post by:
WHat is the maximum no . of fields , we can create in Ms access 2002 table......
4
by: KMEscherich | last post by:
Version of Access = 2003 Hi there, is there a way to capture data using TERADATA SQL Assistant and import a portion of this database table into a Microsoft Access database table??? I currently...
7
by: AkosBeres | last post by:
I’m in the process of setting a sample local Access table called "Fruits" to store data in the following sample fileds: Week Amount Description Version or sequence The data will be loaded into...
1
by: KrazyKasper | last post by:
MS Access 2003 – table inside a report I have an Access report that I use in a mail merge (export to Excel and then mail-merge into a Word document). The report currently shows: CustomerId...
5
by: asmi | last post by:
I am new in C# programming. Can anyone plz help me in the following problem. I am changing values in different columns in access database table using c# but these changes are only visible at run...
2
by: KMEscherich | last post by:
Hi there, am wondering if there is a way to do the following: I developed a Crystal report that runs against a Clarity table envrionment. The report runs fine. I have been asked to run my...
2
by: George Yar | last post by:
Re: How to show changes in open Access 2003 Table in VB I have a form to add a new record to my Access Database table. This is a code: Private Sub btnAdd_Click() Dim dbExpenses As...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.