>the command
>
>sele gtype distinct from vwxltbl into cursor vwxltblD
>
>sorts the field gtype, i wanted it to retain the original order, is that possible?
No with SQL commands, there is NO guarantee how the cursor will be ordered unless you explicitly add ORDER BY clause.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.