Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append contents of a listbox to a memo field
Message
From
23/06/2003 10:01:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/06/2003 09:27:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00802877
Message ID:
00802892
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform