dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Sort table on secondary index - Paradox Database

This is a discussion on Sort table on secondary index - Paradox Database ; This is probably a very silly question. I've got Paradox 7. About 15 years ago I managed to display a table sorted on its secondary index, but can't remember how i did it. Can anyone help? I've tried putting... Tbl.attach("records. ...


Home > Database Forum > Other Databases > Paradox Database > Sort table on secondary index

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 05-15-2009, 01:44 PM
Database Newbie
 
Join Date: Dec 2007
Posts: 1
rayatholthill is on a distinguished road
Default Sort table on secondary index

This is probably a very silly question. I've got Paradox 7. About 15 years ago I managed to display a table sorted on its secondary index, but can't remember how i did it. Can anyone help? I've tried putting...

Tbl.attach("records.db")
if isTable(Tbl) then
if not Tbl.setindex("alpha") then
errorshow()
endif
endIf

..... into the "open" event of both the form which displays the data and the menu which leads you to it, but with no effect. I'm obviously missing something.

"Records" is a name and address table with a unique membership number as the primary index. I want to display it ny last name and have a secondary index in the table "alpha" hopefully to do this.

Regards
Ray
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 06:00 PM.