Workarea not indexed ?????
Posted: Fri Mar 28, 2025 3:34 pm
My stack: Windows Forms, Harbour. XSharp in VS is current 2.20
Here’s a ‘fun’ one:
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.
Thanks for your help.
Error:
Here’s a ‘fun’ one:
Code: Select all
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
Reinstating the line, lets it go. These are two different BFCL files. Why? Code could not be any simpler.
Thanks for your help.
Error: