Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For each record
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00816138
Message ID:
00816268
Views:
24
Hi. try one of these two routines..

vpocdata = ""
go top
do while .not. eof()
vpocdata = vpocdata +vpoc.name+chr(13)
skip
enddo

or

vpocdata = ""
go top
scan
vpocdata = vpocdata +vpoc.name+chr(13)
endscan


HTH.


>I want to build a string containing all the records in a table currently open in the data environment with the alias 'vpoc'
>
>Can I do something like this:
>
>vpocdata = ""
>
>FOR EACH record IN vpoc
> vpocdata = vpocdata + vpoc.name + CHR(13)
>ENDFOR
>
>
>tks!
Previous
Reply
Map
View

Click here to load this message in the networking platform