Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INDEX problem or bug
Message
De
09/07/2007 07:56:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
09/07/2007 07:19:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01238557
Message ID:
01238564
Vues:
7
>>>I have a Form in which Data Environment has two tables Parent and Child.
>>>They are in parent-child relation.
>>>
>>>In Form there are controls (textboxes and grid) for showing values of Child fields.
>>>
>>>When I do INDEX ON childfield command for table Child and after that do thisform.refresh() all values in textboxes and grid are blank, they disapear.
>>>But when I look in data session all values are in tables like they were before INDEX command.
>>>
>>>I am not sure if this is a bug or what, but it's a problem for me, I can't solve it.
>>>
>>>Help anyone?
>>
>>Boban
>>
>>Why do you do the index if they are already on the form, in the DE, in parent-child relationship? The movement of the file pointer in the parent table should automaticall fetch the child recs for the parent, in the grid.
>>
>>Terry
>
>Because of sorting for display purposes.

Build all the indexes you need first. Then use SET ORDER to switch. The SET RELATION again.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform