Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear mover lists
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01151757
Message ID:
01152151
Views:
27
Try
WITH thisform.pageframe1.page1._SUPERMOVER1
  .lstRight.Clear()
  .lstLeft.Clear()
  .Initchoices(@laChoices)
ENDWITH
>This is my first time making use of the _SuperMover class and I have a couple questions I'm sure others have already solved.
>
>My form consists of a drop down list of valid departements for a user. When the user selects a department, I fill the available choices lists for the mover class with data based on a query.
>
>
>  SELECT StatusDesc FROM CurList1 INTO ARRAY laChoices
>  thisform.pageframe1.page1._suPERMOVER1.initchoices(@laChoices)
>
>
>The first question is, not all departments will have records returned from the query, and this causes an error because the array is invalid, so how to I clear the lists (both of them).
<snip>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform