![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Createing a comma delimited file from a universe database using pick. A way I use with great effectiveness (sp?) is to create a dictionary item called comma 1> A 2> 0 3 4 5 6 7 8> F;"," 9> L 10> 1 then I set the printer to record to the &HOLD& file (this system file is a Type 1 file, meaning that it is a directory at o/s level). I can't think of the exact syntax, but something like this... SETPTR 0,132,5000,BANNER MY_CSV.TXT (the 5000 stops the thing from asking for Next Page - literally sets page length to 5000 lines) Finally I list the file I require, inserting a COMMA between each field. Of course this doesn't add in the double quotes... LIST SALES SALESMAN COMMA SGRP COMMA SALES TARGET COMMA RANKING (P with the setptr above this creates a file in &HOLD&. To get at the file (on Windows & nix) just navigate to that directory |
#12
| |||
| |||
|
#13
| |||
| |||
|
|
Re: I wrote a basic that is cataloged under 'EXPORT'. Free to a good home. Why don't you post it too PickSource.com? |
![]() |
| Thread Tools | |
| Display Modes | |
| |