Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with refreshing arrays in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00045944
Message ID:
00045986
Vues:
28
>I have three lists in my form where each one list is a result from a query that is generated when selecting an item from each previous list. Now, the results brought back from the query are correct but when I try to see them reload the new list, it only brings one element. Why would that be? I have everything rowsource=ldTranDate(selection from list), rowsourcetype=ARRAY set correctly; and the code looks like this:
>
>DIMENSION latrantime[1,1]
>SELECT ttrantime FROM snapshot ORDER BY ttrantime INTO ARRAY;
>latrantime where npilecode = gnpilecode and dtrandate = ;
>ctod(ldTranDate)
>thisform.REFRESH()
>
>What's wrong?
>
>Thanks
Gilberto.

Call the lists Requery() after you change the array, the list has to rebuild its internal array before you will see the new items.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform