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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only