Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How I Insert into a table in Multiselect List Box
Message
From
12/05/2003 09:37:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/05/2003 09:33:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00787286
Message ID:
00787288
Views:
18
>How I can Insert into a table when I use a List Box with multiselect items and I have a command boton whan I press the click insert me the selects Items form the ListBox
>**The Listbox rowsource is form a SQL Statment
>==========================================================================
>Como puedo insertar varios archivos a la vez si utilizo un ListBox con la función de selección multiple a una tabla, Lo que deseo hacer es tener un ListBox seleccionas varios archivos e insertalos luego utilizndo un boton de comando a una tabla
>
>**Los datos del Listbox los Optengo de un SQL
select ListBoxCursor
with myListbox
 for ix =1 to .Listcount
   if .Selected[ix]
     go ix
     scatter memvar memo
     insert into TargetCursor from memvar
   endif
 endfor
endwith
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform