toind

Create a Texis managed indirect file. The syntax is

toind(data)

This function takes the argument, stores it into a newly-created file (in a directory tree controlled by the property indirectspace, here), and returns the filename as an indirect type. This is most often used in combination with fromfile to create a Texis managed file. For example:

INSERT  INTO DOCUMENTS
     VALUES('JT09114', toind(fromfile('srcfile')))

The database will now contain a pointer to a copy of srcfile, which will remain searchable even if the original is changed or removed. An important point to note is that any changes to srcfile will not be reflected in the database, unless the table row's indirect column is modified (even to the same value, this just tells Texis to re-index it).


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.