Thanks for that, will try it out tonight!


On Tue, Aug 18, 2009 at 7:21 AM, Alexander Burger<> wrot=
> Hi Henrik,
>> I've just used dbs to split my database into several files which seems
>> to be working but if I recall correctly the catch all will be file no
>> 1 and it's growing out of proportion very rapidly when I import my
>> data. Out of proportion with regards to what I believe should be in it
>> that is.
> The first thing I would do is load "lib/too.l" and then call (dbfCheck).
> This will list all objects in the DB that are not explicitly assigned to
> a file.
>> let me simply walk through an arbitrary database file and list
>> whatever is in there. If I could I would be able to "debug" this
>> situation.
> This can be done with 'seq'. (seq 7) gives the first object of file 7,
> and calling 'seq' with that object will give the next sequential object.
> For example, to show all articles in 'app'
> =A0 : (for (Obj (seq 3) Obj (seq Obj)) (show Obj))
> or, if you don't know the file number
> =A0 : (for (Obj (seq (db: +Item)) Obj (seq Obj)) (show Obj))
> Usually, I put a breakpoint before 'seq', to be able to look at each
> object
> =A0 : (for (Obj (seq (db: +Item)) Obj (! seq Obj)) (show Obj))
> then just hitting ENTER will step through the file. You can terminate
> the process with Ctrl-X.
> Cheers,
> - Alex
> --

Reply via email to