Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put data in a list box into a table
Message
De
18/04/2007 21:56:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Put data in a list box into a table
Divers
Thread ID:
01217585
Message ID:
01217585
Vues:
72
I have a form with with a mover control. I have it working so that I can move data from source to selected side of the mover. I know how many items I selected. It displays the contents of two fields. An account number and a description. I need to put the selected contents into a table in the following steps if something is selected
1. delete existing data in table, I assume I can do this with the commands
IF USED('TABLE')
   USE IN TABLE
ENDIF
USE TABLE IN O EXCLUSIVE
SELECT TABLE
GOTO TOP IN TABLE
DELETE ALL
PACK
is this correct?

What I am not sure how to do is get the items in the selected list an put the them in TABLE. To put items in to the TABLE I assume if I could use the commands
GOTO BOTTOM IN TABLE
APPEND BLANK
REPLACE accountno WITH lcaccount , description WITH lcdesctiption 
My problem is how to go through the selected items to find lcaccount and lcdescription.

Any help appreciated.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform