Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert to txt
Message
De
11/09/2008 06:11:01
 
 
À
11/09/2008 06:00:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346534
Message ID:
01346537
Vues:
12
>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

Hi Mohammed,
did you try this command:
COPY TO (your_txt_file_name) TYPE DELIMITED WITH CHARACTER #
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform