AnsweredAssumed Answered

Field sorting problem

Question asked by DavisSmith on May 14, 2015
Latest reply on May 15, 2015 by DavisSmith

Title

Field sorting problem

Post

Hey everyone,

 

I've been having an issue lately where I'm sorting records by field. I have two tables, with both being set up the same way. I am applying a script to each column header to sort them that goes along the lines of....

If [Globals::Location_Sort_Flag =0]

Set Field [Globals::Location_Sort_Flag; 1]

If[Get(LayoutName) = "Table1"]

SortRecords[]

Else

SortRecords[]

Endif

and repeat for Location_Sort_Flag =1 for descending order.

The problem occurs on one field in particular, where the programs has a loading bar pop up like its sorting and then ends of doing nothing. My code works for every other column on both tables except for this one column on this one particular table.

Anyone have some ideas as to what could be the problem?

Outcomes