problem with 'order by' (1 Viewer)

yabai

Registered User.
Local time
Today, 22:00
Joined
Oct 24, 2005
Messages
11
Hi,

I work at a university and have come up with (+ some help) a db to monitor attendance. The db contains students, courses and an attendance table. So far, so good.

the only probles i have are that i really need to order the results by surname or it is going to be hard to use.

I'm using:
SELECT Students_tbl.StudentID, Students_tbl.Lastname, Students_tbl.Firstname FROM Students_tbl ORDER BY Students_tbl.Lastname;

If anyone has a moment to take a look I would be very grateful.

Cheers
mark
 

Attachments

  • year1.zip
    150 KB · Views: 71

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 22:00
Joined
Jul 9, 2003
Messages
16,282
Base your form "students" on a query instead of directly on the table, and in the query grid in the sort order field put "ascending" as the sort order For the "last name"!

Cheers Tony.

I have paypal if you want any more help doing your homework!
 

Users who are viewing this thread

Top Bottom