Luiz,
sorry but I don't understand portuguese language and google translator does not help me. Are you told me that should not be a problem?
I used Sql profiler to see the queries.
The query creae by RDDSQL for browsing the table with the conditional index is this:
SELECT TOP 12 A.[SO_ALIAS], A.[SR_RECNO], A.[SR_DELETED] FROM [SOTT] A WHERE (INDFOR_001 = 'T') ORDER BY A.[SO_ALIAS], A.[SR_RECNO]
If I use SR_setfilter() to set a filter (in my case [coalesce(so_sospeso,'')<>'S']) the where clause used for the conditional index is substituted by the filter and the query becames:
SELECT TOP 12 A.[SO_ALIAS], A.[SR_RECNO], A.[SR_DELETED] FROM [SOTT] A WHERE ( coalesce(so_sospeso,'')<>'S') ORDER BY A.[SO_ALIAS], A.[SR_RECNO]
If this is the correct behavior of the SQLRDD the consequence is that I can't use SR_setfilter() if I need to use a conditional index (or I can use it only if I am able to add to the filter the condition used by the active index).
Regards,
Roberto