PRIVATE METHOD DO_DETAIL() AS VOID STRICT
close all
// use e:\Apps\HarborClipper\TargetDataTests\Flexx\bfcl index e:\Apps\HarborClipper\TargetDataTests\Flexx\bfcl new shared
USE ("BFCL.DBF") INDEX ("BFCL") ALIAS BFCLXX NEW SHARED
select BFCLXX
BFCLXX->(DBSEEK("TEST")) // This line yields a "Workarea not indexed" error if the initial "use" command if left commented out.
RETURN
END METHOD
If the first ‘use’ command line is left commented out, the program fails on a ’workarea not indexed’ error.
Reinstating the line, lets it go. These are two different BFCL files. Why? Code could not be any simpler.
I had also tested the code and it was working here with this change. What is the exact code you are using now?
Thanks for all the tips ... however, non were realistic to implement - I'm implementing a Windows version in parallel to the original one and doesn't allow me to create new indexes without the alias reference ... which is so old, I can't even remember why I coded it to begin with.
So, I've thought of a solution but ... of course, I can't figure something out. I'll post it under a new item.