List_SortColumn_GetOrderBy()

List_SortColumn_GetOrderBy()

  
Good Day!

I used the below code to allow the user to sort the data by column.

List_SortColumn_GetOrderBy(BookingTable.Id,DefaultOrder:"{Status}.[Label]")

During preparation, the Column Value is being returned by the said function instead of the Column Name.

Please see attached application.


Thank You.

Chris
In addition to my query, Please find below error message:

Error in advanced query GetBookingBySearchInput in Preparation in GuestName in MainFlow in Bookings_CRB (SELECT {Booking}.*, {Room}.[RoomNumber], {Status}.[Label] from {Booking} inner join {Status} on {Booking}.[StatusID] = {Status}.[Id] inner join {Room} on {Booking}.[RoomID] = {Room}.[Id] @FilterBy order by @OrderBy): Invalid column name 'BautistaBautista'. 
KINDLY DISREGARD. APP ALREADY FIXED. THANKS A LOT.