>>>Can I create an index based on an integer & a date field? Actually, the integer refers to the primary key (unintelligent) of another table.
>>>
>>>Thanks.
>>
>>Yes, use STR(IntegerField) + DTOS(DateField) as the key for the index
>
>Actually, I have 3 tables. Table 1 parent of table 2 & table 2 parent of table 3. I want to create an index in table 3 that is on the primary key of table 1 plus a date field. Can the table 3 index expression be
>STR(table2.integerField) + DTOS(table3.DateField)
You can do that but it is not advised as you will have problems openning table 3 if table 2 is not there and changes to table 2 will not be reflected in table 3's index. instead put the table 2 field also in table 3 and use the field in table 3.