Subject Re: reindex
From Mervyn Bick <invalid@invalid.invalid>
Date Mon, 1 Jun 2020 16:52:37 +0200
Newsgroups dbase.getting-started

On 01/06/2020 15:18, Cornelius wrote:
> Hi there,
> In dbase12 I have a database called SYSTEM12 and a table HPCUS wit a few indexes.
> In coding if I run SYSTEM12.reindex(hpcus) will it reindex or not.
> Thanks
> Cornelius.

Depends.  If you are referring to a database alias defined in the BDE or
defined as a User BDE alias then no, it won't work.

If SYSTEM12 is a active database object in a form or program then yes,
it will work.

SYSTEM12 = new database()
SYSTEM12.databasename = 'SYSTEM12' //i.e your database alias = true
SYSTEM12.reindex('hpcus') = false