Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting Listbox values into Text File
Message
 
 
À
23/05/2005 11:11:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01016750
Message ID:
01016780
Vues:
9
Thankyou cetin,

When I run the code the txt file is blank. Here is my code:
DO FORM splash

splash.list1.columnwidths="350,50,50"

splash.list1.addlistitem("Now printing generic submission")
splash.list1.addlistitem("Now attaching generic submission")
splash.list1.addlistitem("Now attaching submission")
splash.list1.addlistitem("Now attaching submission 2")

set textmerge to memvar m.contents noshow
set textmerge on
with splash.list1
 for rows=1 to .ListCount
  for cols=1 to .ColumnCount
  \\<<.List(m.rows,m.cols)>>
    if cols<.ColumnCount
    \\,
    endif
  endfor
  \
 endfor
endwith
set textmerge TO 
set textmerge off

StrToFile(m.contents, "neiltemp.txt")
modi file neiltemp.txt
Neil
Neil Lewis
IT R&D Manager
Velmore Ltd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform