No, as "myparams" can be a field name. It has to be completely dynamic.AHF wrote:Can it work like this?
index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) )
EMG
No, as "myparams" can be a field name. It has to be completely dynamic.AHF wrote:Can it work like this?
index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) )
Enrico,Enrico Maria Giordano wrote:Antonio,
No, as "myparams" can be a field name. It has to be completely dynamic.AHF wrote:Can it work like this?
index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) )
EMG
As an example:AHF wrote:But what do these functions return? The first Field expression and 2nd cfor expression or the eval result ?
Code: Select all
INDEX ON UPPER( FIELD -> name ) TO MYINDEX FOR UPPER( FIELD -> name ) = "A"
Code: Select all
INDEX ON GETTOTALINCOME( FIELD -> id ) TO MYINDEX FOR GETTOTALINCOME( FIELD -> id ) >= 1000
Code: Select all
INDEX ON UPPER( FIELD -> name ) TO MYINDEX FOR UPPER( FIELD -> name ) = "A"
Code: Select all
INDEX ON UPPER( FIELD -> name ) TO MYINDEX FOR "UCASE("+ FIELD -> name +")" = "A"
Code: Select all
INDEX ON &(GETTOTALINCOME( FIELD -> id )) TO MYINDEX FOR &(GETTOTALINCOME( FIELD -> id ))+ ">= 1000"
Lucas,lucasdebeltran wrote:Antonio,
And how we define such indexes on the commands fro ADORDD.
Thanks.
Code: Select all
IF RDDNAME() = "ADORDD"
INDEX ON ...
ELSE
INDEX ON as it is
ENDIF
Lucas,lucasdebeltran wrote:Antonio,
No, sorry, I ment about SET ADO TABLES INDEX LIST TO <array> and SET ADODBF TABLES INDEX LIST TO commands for such indexes.
Thank you.
Yes but find nothing concerning append or copy.Have you checked out arrayrdd source code?.