Index Source (OpenInsight 32-bit Specific)
At 15 JAN 2009 08:26:09AM Simon G Wilmot wrote:
Hiya,
It is so long since I have done this, and no longer have any documentation … can anyone remind me on how to generate the
!!Table index source record.
TIA,
Simon
At 15 JAN 2009 02:54PM Warren Auyong wrote:
http://www.sprezzatura.com/revmedia/v2i1a3.htm
!!
The bang bang record does not normally exist in the file however if you add
it USING the EDITOR (EDIT !filename !! then F9) the next time index code is
recompiled the SOURCE code will be placed into this item If the index has
already been compiled the easiest way to RECOMPILE it is to add a BTREE
index to any FIELD (don't UPDATE it) EDIT the file (this will cause a
recompilation of the ! logic) remove the BTREE index and again EDIT the
file The index will now have been compiled as per the original index
specification This enables you to study the way in which the code works and
make any necessary modifications This should only be undertaken as a last
resort The optimum use for this is to identify how various system routines
such as INDEX OPEN are used
Another trick that used to work to get the !record to recompile was to edit the !record and change the version number (2.0) at the top of the object code to something else and do a select involving indexes.
At 15 JAN 2009 02:54PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Save a blank row with id !!. Reattach the table and edit it.
World leaders in all things RevSoft
At 15 JAN 2009 02:55PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Thanks Warren - forgot deleting ! :)
World leaders in all things RevSoft
At 15 JAN 2009 03:00PM Simon G Wilmot wrote:
Thanks all - now I see it written down I remember the steps !!
Simon