They say a picture is worth a thousand words. Here is the picture:
.
.
The Actresses column is sorted according to the following query:
.
SELECT “ActressName1”, “ActressID” FROM “TAtresses” ORDER BY “ActressName1” ASC
.
The Role column is unsorted and uses the following query:
.
SELECT “TRoles”…“Role”, “TRoles”…“RoleID”, “JTActricesFS”…“jIDRole” FROM “JTActricesFS”, “TRoles” WHERE “JTActricesFS”…“jIDRole” = “TRoles”…“RoleID”
.
Here is my question: is it possible to sort so that the names are sorted alphabetically and the roles are also sorted in order to achieve this result?
Jin Ji Hee - - > Cameo
Choi Myung Bin - - > Main
Nam Ji Hyun - - > Main
Han Ji Eun - - > Secondary
Han So Hee - - > Secondary
Lee Hye Eun - - > Secondary
.
The control table subform uses this query:
.
SELECT “JTActricesFS”.*, “NameActrice1” FROM “JTActricesFS” LEFT JOIN ( SELECT “NameActrice1”, “ActressID” FROM “TActrices” ) “a” ON “a”…“ActressID” = “JTActricesFS”…“jIDActrice” ORDER BY “NameActor1”