Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append contents of a listbox to a memo field
Message
De
23/06/2003 10:01:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/06/2003 09:27:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00802877
Message ID:
00802892
Vues:
17
>Hi guys,
>
>This is probably very simple, but its Monday. I have a listbox full of items
>that I have added but I want to be able to press a button which appends a record in a table and adds the contents of this listbox into a memo field.
>How can I do this?
>
>The following :
>
>REPLACE inv_detail WITH m.list
>
>does noot work.
>
>
>
>Thanks,
>
>Ger.
set textmerge to memvar myList noshow
set textmerge on
with myListbox
 for ix=1 to .ListCount
   \\
   for jx = 1 to .ColumnCount
     \\<<.List(ix,jx)>> |
   endfor
   \
 endfor
endwith
set textmerge to
set textmerge off
replace inv_detail WITH m.myList
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
Répondre
Fil
Voir

Click here to load this message in the networking platform