-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
writing to a folder in WINDOWS
writing to a folder in WINDOWS
-
fresho01
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
16 years 11 months ago #981
by fresho01
Hi does anyone know how to write a CSV data into file or directory or folder in WINDOWS?
I used WRITESEQ REC.LIST TO FN.ACCT.TXT ELSE NULL . But it is not writing.
Ideas will be highly apreciated.
Cheers
lekan (Nigeria)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 508
-
Thank you received: 11
-
-
-
16 years 11 months ago #982
by malai
0001 PROGRAM TEST.SAMPLE
0002
0003 YOUR.FOLDER = 'C:MYFOLDER'
0004 YOUR.FILE = 'MYCSVFILE.CSV'
0005
0006 OPENSEQ YOUR.FOLDER,YOUR.FILE TO F.FILE.POINTER ELSE
0007 CREATE F.FILE.POINTER ELSE
0008 PRINT 'UNABLE TO CREATE FILE'
0009 STOP
0010 END
0011 END
0012
0013 YOUR.DATA = 'DATA1,DATA2,DATA3,DATA4'
0014 WRITESEQ YOUR.DATA TO F.FILE.POINTER ELSE
0015 PRINT 'UNABLE TO WRITE DATA'
0016 STOP
0017 END
0018
0019 STOP
___________
Thanks
Please Log in or Create an account to join the conversation.
-
fresho01
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
16 years 11 months ago #983
by fresho01
hi malaiselvan,
am very grateful ... ur program sample worked well..... My mistake was the file type i created ..... i used CREATE.FILE ACCT.TXT TYPE=UD..... the program thus couldnt write into it
This is the most helpfull site nad Forum av ever bn to...... am really very gratefull
cheers
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
writing to a folder in WINDOWS
Time to create page: 0.073 seconds