I'm trying to use Sort and / or SortbyColumn to sort a gallery coming from a SQL backend. Very strange. When I sort by the date column, I cannot show that columns value in any text box, it comes up blank. I can show other date fields from the row though. Any ideas?
(Update)
Its very strange behavior, as long as I am doing a sort by the column I cannot access that date column. Even if I do a lookup in a text box on a gallery item it will not return anything
LookUp('[dbo].[CAL]', recid = "CQ7V4JJ$IN#VDKA", ONDATE)*
*(Recid is the unique key field, I tried both recid = thisitem.recid and the literal example above).