Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building a string
Message
From
05/04/2010 13:23:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Building a string
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01458765
Message ID:
01458765
Views:
149
Hi All,

I need to build a string of tab delimited fields from a table. I have been using something similar to:
cMyString = ""

SCAN 

  cMyString = m.cMyString + myTable.Field1 + CHR(9) + myTable.Field2 + CHR(9) + CHR(13)

ENDSCAN
Is there a faster way such as, for example, using TEXTMERGE?

TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform