Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert to txt
Message
From
11/09/2008 06:00:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Convert to txt
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01346534
Message ID:
01346534
Views:
45
hi all,

i need to convert to txt delimited with # via vfp code,

this code below convert to excel sheet
SELECT txp_no as txp_no,year as year,id_no as id_no,id_type as id_type,inf_type as inf_type,cnt_code as cnt_code ,;
dedcode as dedcode,AMT as AMT ,entry_id as entry_id,entrydate as entry_date,confflag as confirm_flag,confirmid as confirm_id,confdate as confirm_date FROM qcombined1 INTO TABLE MYcur

gcDelimName = ALIAS( ) + '.xls'

gcDelimFile = PUTFILE('excel_file:', gcDelimName, 'xls')

IF EMPTY(gcDelimFile)  

 CANCEL

ENDIF
COPY TO (gcDelimFile) XLS
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform