Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Supermover and PKs
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00768363
Message ID:
00768411
Vues:
15
>I'm trying to learn how to use the Supermover class from the FFC and have run into a stumbling block: it gets confused if I try to use a two dimensional array. So how do I go about having a user friendly description displayed and the PK that goes with it attached some way? After the user makes their selections, I need to go through the selected array and grab all the PKs for processing. Any idea how I go about doing that?
>
>Thanks,
>
Hi Michelle,

The Supermover class accepts the one-dimensional arrays only. To workaround this limitation, you can attach PK to the discription but move it beyond the part wisible in the mover. Something like
SELECT PADR(Descript, 100) + "###" + TRANSFORM(PK) ;
  FROM mytable ;
  INTO ARRAY myarray
It would be easy to extract PK from the selected items.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform