I'm trying to sort records in table frame "tableFrame" by secondary
index "PageName." The following, placed on a pushButton, doesn't work:
var
ui UIObject
endVar
ui.attach(tableFrame)
ui.switchIndex("PageName")
The following also does not work:
var
tc tcursor
endVar
tc.attach(tableFrame)
tc.switchIndex("PageName")
tableFrame.resync(tc)
I would expect either of these to work, but in both cases the scripts
run to completion (even when I have "Compile with debug" and place
each statement within an "If not. . .then errorShow() endIf"). The
tcursor is attaching properly, but at the end of the program the
tableFrame is still sorted by its primary index.
Any ideas?
Joe Herl
--
School of Music I am not called to be successful;
University of Illinois I am called to be faithful.
Urbana, Illinois 61801 USA -- Mother Theresa