Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record numbers after table buffer update not in order ??
Message
De
13/08/1998 18:19:57
 
 
À
12/08/1998 21:07:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126330
Message ID:
00126737
Vues:
14
>You must have an index (active) on the child key in the child table.
>
>Vlad
>
>>It seems that when I add 2 or 3 records in a table buffer
>>the ultimate record numbers are not assigned in the
>>order of creation.
>> <snip>
>>The pratical effect of this is that the child records
>>do not show in a logical order in the child biz object
>>grid in my form. (They are displayed in record number
>>order.
>> <snip>
>>The child records are indexed by the parent key in
>>accordance with the data environment which sets
>>a relation from the parent to the child records.


Hi Vlad.

I don't have the option of changing the index on the
child table since the Data Environment sets the index
to the parent key to support the relationship from
the parent to the child table:

select CHILD
set order to Parent_Key

select PARENT
set relation to PARENT.Parent_Key into CHILD

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform