I icemonster Registered User. Local time Today, 15:24 Joined Jan 30, 2010 Messages 502 Apr 12, 2011 #1 how do i group records? let's say, from a tbl with a FK, i want to group all FK of that tbl to the last record? what's the best way to do it?
how do i group records? let's say, from a tbl with a FK, i want to group all FK of that tbl to the last record? what's the best way to do it?
jdraw Super Moderator Staff member Local time Today, 16:24 Joined Jan 23, 2006 Messages 15,583 Apr 12, 2011 #2 How about describing the tables and fields and what you really want to group on?
I icemonster Registered User. Local time Today, 15:24 Joined Jan 30, 2010 Messages 502 Apr 12, 2011 #3 here's the table, tblschedule scheduleid clientid visitdate visitstatus what i want is to group all clientid, meaning that if a client has multiple records, it will only show the last record or max record for that client.
here's the table, tblschedule scheduleid clientid visitdate visitstatus what i want is to group all clientid, meaning that if a client has multiple records, it will only show the last record or max record for that client.