DOS Files and MV's (OpenInsight Specific)
At 19 OCT 1999 07:11:14AM Marty Rosenbloom wrote:
Using OIv2.6, I am collecting data from an edittable (name and ID number)and want to place them in a DOS file (ID_Card.Txt). I can write them to the file but it is straight across and I need them columnar.
I first OSWrite "NAME ID" to the file and then want to add my list of names and ID's. How do I convert the long list into columns and then write to the file?
Thanks,
Marty
At 19 OCT 1999 09:43AM Don Bakke wrote:
Marty,
Since multi-valued data is separated by @VM's you would just need to convert these to something else that suits your needs like the Tab character. Here's an example of a one-liner that might work:
Convert @VM to Char(9) in NameList
dbakke@srpcs.com
At 19 OCT 1999 01:14PM Matt Sorrell wrote:
Also, as you go through each row in the table writing it out don't forget to append a CRLF to the end of each row. Otherwise, all of your data will still be on one line in the DOS file.
Matt Sorrell
msorrel@greyhound.com