Subject Re: IndexError
From AGOSTINHO <agostinhoteixeira@yahoo.com>
Date Sat, 12 Jun 2021 02:26:53 -0400
Newsgroups dbase.getting-started
Attachment(s) DbasePlusSytemError.gif

Now I cannot even create a new table, when finishing and saving I get an Dbase Plus system error \"ENCOUNTERED AN IMPROPER ARGUMENT\" and have to close Dbase Plus with CRL-ALT-DELETE.
Agostinho


Ken Mayer Wrote:

> On 6/10/2021 8:04 PM, AGOSTINHO wrote:
> > Dear Mervyn,
> > I\'m trying to create  a simple new index with the indexname M_INDEX from a DBF file I created in DBASE DOS V5. (SEE ATTACHED FILE) for results.
> >
> > Also when I try from the command window I get the same error
> > Use Alesie Excl
> > Index on merk tag m_merk
> >   (DATA ENGINE ERROR: Invalid Parameter)
> > Thanks
>
> How large is the field? If it is greater than 100 characters that will
> cause problems ... you would need to use left( merk, 100 ) for the index
> expression:
>
> index on left( merk, 100 ) tag m_merk
>
> Ken
>
> --
> *Ken Mayer*
> Ken\'s dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm