Michael Savage wrote on 2011-12-10: 
>  I have the following sql to fill the array
>  sele tagname, surname,position,volid ;
>  from volunteers ;
>  where active .t. ;
>  order by tagname ;
>  into array thisform.mvr1.lstSource.listVals
>  
>  Now I set the row source etc for the listbox
>  WITH thisform.mvr1.lstSource
>           .rowsource='this.listvals'
>           .rowsourcetype=5
>           .columncount=4
>           .columnwidths='206,0,0,0'
>           .columnlines=.f.
>           .sorted=.t.
>      ENDWITH
>  This works fine... so how do I move the elements of the array to the
>  lstSelected list... (The target) of course I would also like to move the
>  values back.
>  
>  Is there a way?
>  
>  TIA,
>  Mike
> 

Michael,

ADEL and AINS might be useful. 
Don't forget to call the Requery() method of the lstSource.

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001801ccb8e6$8ebb9a30$ac32ce90$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to