Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

SRP Computer Solutions


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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/f6f3bf0bddecb5298525680f003d740e.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1