
Re: how do I use the rank function in access similar to excel
I don't agree with storing values that can be calculated however, you can
create an update query with SQL like:
UPDATE tblMarks
SET tblMarks.Rank = DCount("*", "tblMarks","MathMarks+ScienceMarks >=" &
[MathMarks]+[ScienceMarks]);
--
Duane Hookom
MS Access MVP
"koty" <koty@discussions.microsoft.com> wrote in message
news:661C73D5-F7EB-4FDB-AD4A-3DA34D2B1DE8@microsoft.com...[vbcol=seagreen]
>I just want to make a formula such that the Rank is generated and it stays
> with the record forever.
> I did not understand the meaning of Normalizing the Table Structure.
>
> I also tried using the " Number each detail record in a group or Report"
> as
> mentioned under the Sequence number Help as you mentioned.
> But it generates the rank in the Report only. If I now have to resort the
> querry in a different order, I want the original Rank to be retained.
>
>
> "Duane Hookom" wrote:
>