Export problem

George Simon GSimon at americanriverintl.com
Fri Feb 9 11:21:19 PST 2007


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

Quoting George Simon (Fri, 9 Feb 2007 13:37:59 -0500):
[...]
> > >  As I recall the freechain is in LIFO order, so you
> > > will get the last record you deleted.
> >
> > So are you saying that using that technique, I will never get to
record
> > 1?

> Correct.  You will continue getting the record you just deleted.

> If you force a freechain rebuild immediately prior to running your
> processing, the freechain will be in record number order.  However,
> in any other case, you can't guarantee that.

OK, but Jeff did say:
"I think it would work if I first rebuilt the freechain."
So if he does that, record no. 1 should be the first record in the
freechain and the code should work if modified to:

[... if lookup to record 1 fails ...]
If:
Then: aystem "freechn filename"
If:
Then:	lookup filename r=free -e
If:
Then: lookup - r=rn -e
If:
Then: return
--


More information about the Filepro-list mailing list