Jan 15, 2003 #1 chi1 Programmer Jan 15, 2003 3 US Please let me know how to order a cursor in the program. Thanks.
Jan 15, 2003 #2 EzLogic Programmer Aug 21, 2001 1,230 US if you are reffering to sorting an order then Sele field1,field2,... from MyCursor order by MyCursor into cursor MyCursor Please let me know if this helped you Tekno Wireless Toyz Ypsilanti, Michigan Upvote 0 Downvote
if you are reffering to sorting an order then Sele field1,field2,... from MyCursor order by MyCursor into cursor MyCursor Please let me know if this helped you Tekno Wireless Toyz Ypsilanti, Michigan
Jan 15, 2003 #3 csr Programmer Jul 20, 2000 507 After creating it, Create a tag or index or ... Order it while creating it with the SELECT command. Don dond@csrinc.com Upvote 0 Downvote
After creating it, Create a tag or index or ... Order it while creating it with the SELECT command. Don dond@csrinc.com
Jan 15, 2003 Thread starter #4 chi1 Programmer Jan 15, 2003 3 US This doesn't work. Here is how I created a cursor: sele qacode, descr from qacode into cursor qsel Then I tried to order it by Descr, like following: Sele * from qsel order by descr into cursor qsel But I get an error message saying that a table has to be created. Thanks for your help. Upvote 0 Downvote
This doesn't work. Here is how I created a cursor: sele qacode, descr from qacode into cursor qsel Then I tried to order it by Descr, like following: Sele * from qsel order by descr into cursor qsel But I get an error message saying that a table has to be created. Thanks for your help.
Jan 15, 2003 #5 DSummZZZ Programmer Oct 24, 2000 4,250 US You can't use the same alias for both. Try: sele qacode, descr from qacode ; into cursor qsel order by descr Dave S. Upvote 0 Downvote
You can't use the same alias for both. Try: sele qacode, descr from qacode ; into cursor qsel order by descr Dave S.