wwBusinessObject::reindex

o.Reindex(llSaveIndexString)

.T. or .F.

Parameters

llSaveIndexString
When set to .t. the Index string is saved and returned to you. You can use this to override the Reindex method with a full index command which is more reliable than the default behavior.

Example

foxpro
foxpro
* ** Sample Implementation IF THIS.nDataMode = 0 IF !OpenExclusive(THIS.cDataPath + THIS.cFileName,THIS.cAlias) THIS.SetError("Unable to open Item file due to exclusive use.") RETURN .F. ENDIF DELETE TAG ALL PACK INDEX ON pk TAG pk INDEX ON sku TAG sku INDEX ON lower(padr(descript,10)) TAG descript INDEX ON deleted() TAG deleted USE ENDIF

See also

Class wwBusinessObject

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic