Auto Update when exporting

A

Arni Laugdal

Sandra,
You can solve the problem using a query.
In follwoing case have I a table named tblTheClass with
two colums Student and Grade.

Then did I create a new public Function:
Public Function LaugdalRank(TheNumber) As Long
LaugdalRank = DCount("Grade", "tblTheClass", "Grade
" & TheNumber) + 1
End Function

And used it in the query as following:
SELECT Student, Grade, LaugdalRank([Grade]) AS TheRank
FROM tblTheClass;

This is not the fastest way in the world but it works.

Arni Laugdal,
Office 2000 Master Instructor
www.til.is/msaccess
 
Top