× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe,

I have to admit I haven't been too observant with this thread so forgive
me if I'm asking a silly question.  Why not use a user index rather than
a file?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta
Sent: Thursday, November 18, 2004 11:58 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Reordering a file


> 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

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.