Export problem

George Simon GSimon at americanriverintl.com
Fri Feb 9 08:46:59 PST 2007



-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at bestweb.net] 
Sent: Thursday, February 08, 2007 6:48 PM
To: George Simon
Cc: filepro-list at seaslug.org
Subject: RE: Export problem

Quoting George Simon (Thu, 8 Feb 2007 15:21:42 -0500):

>> I don't know if the code below would work, it depends on how filePro
>> selects the next record to be used from the pool of available record
>> numbers.  Ken?
>>[... if lookup to record 1 fails ...]
>> If:
>> Then:	lookup filename r=free -e
>> If: filename(@rn) ne rn
>> Then: delete filename; goto ADDREC1
>> If:
>> Then: lookup - r=rn -e
>> If:
>> Then: return

>> The lookup-free will get the first record off of the freechain,
>> if any.  There is no guarantee about the order of the records on
>> the freechain.

But, if the freechain reads:
25, 32, 14, 1, 30, 7, ...
Will I get to record 1 after deleting the first 3 records or will those
records go back to the beginning of the freechain?


More information about the Filepro-list mailing list