I put this up on microsoft.public.access earlier today, but no nibbles.
I'm loading a TreeView and it's trapping out on a duplicate node error... but
with the same data, it traps out on different input records and I'm totally at a
loss.
Tried writing .NodeKey to a text file before every insert - and there really
doesn't seem tb any duplication going on.
I reduced it all to a mini application.
In the mini app the problem acquires a little extra twist, though. When it
traps out in the load routine and the error trapping kicks in; control
immediately returns to the button Click() routine that calls it. So you have
to put a breakpoint in on the load routine's error trap to see the actual Erl
and Error$ values.
If anybody's feeling bored or masochistic, I would be most grateful if they
could take a look at this thing.
You can download the mini application by clicking http://tinyurl.com/nd4rc
It's about 400k zipped.
--
PeteCresswell