I have a table that I want to create an index for on two fields. I want the table to be ordered by a name field with field type of char and then by a expir_date field with type of date, however I want the name field to be ascending and the date field to be descending.
I've tried creating to different tag names and calling them both at the same time, but I get a "operator/operand type mismatch error". So I tried using the expression dtos(expir_date) and then calling calling both indexes but I get the same error.
Is there a way to make one of the fields ascending and the other descending? I know I could use the sort command, but I want to be able to open this table with an index.
I've tried creating to different tag names and calling them both at the same time, but I get a "operator/operand type mismatch error". So I tried using the expression dtos(expir_date) and then calling calling both indexes but I get the same error.
Is there a way to make one of the fields ascending and the other descending? I know I could use the sort command, but I want to be able to open this table with an index.