|
> From: Walden H. Leverich > > I'm just confused about why you care if the data is sorted in the file. > Just load the data in a sorted order and use it. Who cares what order > it's in in the file? I'm trying to set the option number equal to the position of the record in the view. Assuming that I am going to use the option number from the file, then I have to update the number. One way I know of doing this is UPDATE FILE SET OPTION = RRN(FILE), which will set the option number equal to the relative record number. But that presupposes that I've sorted the file physically. Perhaps the question that will work for you is this: Is there another way to assign sequential numbers based on an arbitrary view to a file that has already been populated? Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.