Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Your class
Message
De
08/08/2000 04:27:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/08/2000 10:01:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00401794
Message ID:
00402126
Vues:
15
>I want to insert the selected item into an array
>In your code where can i do that ?
>
>Thanks a lot


With the help of Nadya + email I can understand this is about MultiSelectGrid. Assuming you have placed commandbutton and created form array property aSelected as Nadya suggested I have an additional piece of code that might help :
dimension thisform.aSelected[1]
thisform.aSelected = .f.
* Above 2 lines are needed in case SQL returns nothing
* Then aSelected contents would be what they were before
select myField1, myField2...myFieldn ;
 from (thisform.MultiselectGrid1.recordsource) ;
 where lSelected ;
 into array thisform.aSelected
This could be anywhere in any method rather than a commandbutton click code, just keep in mind that grid recordsource is 'gone' in its destroy event.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform