Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How put items of Listbox in DBF fields
Message
 
 
To
13/01/2006 11:39:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086582
Message ID:
01086629
Views:
9
>HI BORISLAV ,
>
>I would want to put items of a listbox in a field of a table
>
>Thanks
for lnI = 1 to thisform.List1.ListCount
  insert into MyTable (field1, field2) values (thisform.List1.List[m.lnI,1], thisform.List1.List[m.lnI,2]) 

next
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform