Alaska Software Inc. - OrdCreate() minor difference
Username: Password:
AuthorTopic: OrdCreate() minor difference
Rodd GrahamOrdCreate() minor difference
on Sun, 11 Sep 2005 11:02:52 -0500
FYI:

In Clipper, OrdCreate() will add a tag to the structural index (if RDD 
supports structural indexes) if the OrderBagName is not specified.  Further, 
it will create the structural index if it does not yet exist.

In Xbase++, OrdCreate() will add a tag to the current index (if DBE supports 
multiple tag indexes) if the IndexFile (OrderBagName from Clipper)  is not 
specified.  Further, it is an error to not specify the IndexFile is there is 
not an active controlling index.

Rodd
Phil Ide
Re: OrdCreate() minor difference
on Mon, 12 Sep 2005 15:42:47 +0100
Rodd,

> In Clipper, OrdCreate() will add a tag to the structural index (if RDD 
> supports structural indexes) if the OrderBagName is not specified.  Further, 
> it will create the structural index if it does not yet exist.
> 
> In Xbase++, OrdCreate() will add a tag to the current index (if DBE supports 
> multiple tag indexes) if the IndexFile (OrderBagName from Clipper)  is not 
> specified.  Further, it is an error to not specify the IndexFile is there is 
> not an active controlling index.

Possibly as a result of the fact that Xbase++ doesn't recognise structural
indexes.

Regards,

Phil Ide

*******************************************
*   Xbase++ FAQ, Libraries and Sources:   *
*   goto: http://www.idep.org.uk/xbase    *
* --------------------------------------- *
* www.xodc.org.uk - openSource Dev-Center *
*******************************************

If it's tourist season, why can't we shoot 'em??
Rodd GrahamRe: OrdCreate() minor difference
on Mon, 12 Sep 2005 12:46:21 -0500
Phil,

> Possibly as a result of the fact that Xbase++ doesn't recognise structural
> indexes.

That does make sense, although ADS does automatically recognize structural 
indexes behind the scenes.  Maybe I missed the structural index change in 
the Xbase++ docs for clipper migration.  Slowly but surely, my version of 
Xbase++ does fully recognize structural indexes to be compatible with 
pre-existing source and to avoid problem below.

It is too bad that structural indexes are not supported.  This requires 
every Xbase++ program that might update a table to be updated, compiled, 
linked, and installed just to add an additional permanent index to the 
table.

Rodd

"Phil Ide" <phil@xodc.org.uk> wrote in message 
news:1nwgzhiqzciec$.dlg@xodc.org.uk...
> Rodd,
>
>> In Clipper, OrdCreate() will add a tag to the structural index (if RDD
>> supports structural indexes) if the OrderBagName is not specified. 
>> Further,
>> it will create the structural index if it does not yet exist.
>>
>> In Xbase++, OrdCreate() will add a tag to the current index (if DBE 
>> supports
>> multiple tag indexes) if the IndexFile (OrderBagName from Clipper)  is 
>> not
>> specified.  Further, it is an error to not specify the IndexFile is there 
>> is
>> not an active controlling index.
>
> Possibly as a result of the fact that Xbase++ doesn't recognise structural
> indexes.
>
> Regards,
> -- 
> Phil Ide
>
> *******************************************
> *   Xbase++ FAQ, Libraries and Sources:   *
> *   goto: http://www.idep.org.uk/xbase    *
> * --------------------------------------- *
> * www.xodc.org.uk - openSource Dev-Center *
> *******************************************
>
> If it's tourist season, why can't we shoot 'em??