Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename fields name
Message
De
06/09/2006 05:42:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Rename fields name
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01151225
Message ID:
01151225
Vues:
82
hi all,

any help to rename fields name as,

i have excel sheet with field names as
telno,customer_name,customer_number
,area,resiential

i need to append all data form myexcel sheet to my table alldata
CLOSE all
CREATE TABLE alldata( num n(9) ,service_type n(2),area n(2),Tel C(10) nocp,account_num c(15) nocp, customer_name C(80) nocp,flag n(2),n_try n(8)) 
***APPEND FROM d:\yosef\alldat TYPE xl5  &&it works take it as it is

**i need to replace field name and data as
append blank
replace tel with telno
replace area with area
replace customer_name with customer_name 
replace account_num with customer_number
replace num with 0
replace flag with 0
replace n_try with 0
thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform