My QUOTE::CT_Filter had a "Buildindex" of an Unstored Calculation keeping it from being INDEXED and it was based off of
FOC_QUOTE not ERD_QUOTE. (not sure if we are going to make sub pages for problems and solutions.)
TART_QUOTECalculation
(Timestamp)Unstored, from UIN_FOCUS, = Let ( [
#_table = "QUOTE" ;
#_index = TableIndex ( #_table ) ;
#_timestamp = GM_FILTER_TIMESTAMP_START [ #_index ] ;
#_reveal = GN_FILTER_FLAG_REVEAL [ #_index ]
] ;
Case (
#_reveal = 1; // All records are showing
If ( IsEmpty ( #_timestamp ); GetAsTimestamp ( "1/1/0001" );
#_timestamp );
IsEmpty ( #_reveal ) or #_reveal = 0; // No records are showing
If ( IsEmpty ( #_timestamp ); ""; #_timestamp )
)
), Evaluate even if all referenced fields are empty
CT_FILTER_TIMESTAMP_E
ND_QUOTECalculation
(Timestamp)Unstored, from UIN_FOCUS, = Let ( [
#_table = "QUOTE" ;
#_index = TableIndex ( #_table ) ;
#_timestamp = GM_FILTER_TIMESTAMP_END [ #_index ] ;
#_reveal = GN_FILTER_FLAG_REVEAL [ #_index ]
] ;
Case (
#_reveal = 1; // All records are showing
If ( IsEmpty ( #_timestamp ); GetAsTimestamp ( "1/1/4000" );
#_timestamp );
IsEmpty ( #_reveal ) or #_reveal = 0; // No records are showing
If ( IsEmpty ( #_timestamp ); ""; #_timestamp )
)
), Evaluate even if all referenced fields are empty
CT_FILTER_LOW_QUOTECalculation (Text)Unstored, from UIN_FOCUS, = FilterLow ( ExtractFilterTableName
( GetFieldName ( Self ) ) ), Evaluate even if all referenced fields are empty
CT_FILTER_HIGH_QUOTECalculation (Text)Unstored, from UIN_FOCUS, = Let ( [
#_table = "QUOTE" ;
#_index = TableIndex ( #_table ) ;
#_filter = UIN_FOCUS::GT_FILTER [ #_index ] ;
#_reveal = GN_FILTER_FLAG_REVEAL [ #_index ] ;
#_field = GT_FILTER_FIELD [ #_index ]
] ;
Case (
#_reveal = 1; // All records are showing
If (
IsEmpty ( #_field ) or #_field = FilterFieldDefault;
#_filter & FilterLimitHigh;
If ( IsEmpty ( #_filter ); #_filter & FilterLimitHigh ; #_field &""& #_filter &
FilterLimitHigh )
);
#_reveal = 0; // No records are showing
If (
IsEmpty ( #_field ) or #_field = FilterFieldDefault;
If ( IsEmpty ( #_filter ); ""; #_filter & FilterLimitHigh );
If ( IsEmpty ( #_filter ); ""; #_field &""& #_filter & FilterLimitHigh)
)
)
), Evaluate even if all referenced fields are empty
Comments