Page 1 of 1

Conditional Index Question

Posted: Thu Mar 04, 2010 4:26 pm
by Stuart.Fraser
This is DBFCDX

I have a conditional index like this:

Index on PadL(AllTrim(Str(BillID)),2,"0")+DTOS(SVCDate) TAG "PickBatch" TO CDXFile FOR DBFile->Approved .and. !DBFile->Assigned .and. !Empty(DBFile->BillID)

This index is then used to pick specific bill ID's from oldest date forward etc when creating batches.

My question is, if any of the fields that are referenced in the "For" conditions are updated, will this index update automatically?

In, use it seems to be skipping over records that match the criteria.

TIA,

Stu

Re: Conditional Index Question

Posted: Fri Mar 05, 2010 11:11 am
by Stuart.Fraser
Never mind... I figured it out.

Stu