Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with refreshing arrays in a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00045944
Message ID:
00045986
Views:
31
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform