Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook, ContactItem, and field names
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01143190
Message ID:
01143275
Vues:
12
If FILE("out.dbc")
DELETE  data out
endif

CREATE TABLE m2line (field_name c(128), field_type c(1), field_len n(3), field_dec n(3))
APPEND FROM m1line  
** the mline table has one field, named field_name
**** with all of the long names for outlook address book fields
REPLACE ALL field_type WITH "C"
REPLACE ALL field_len WITH 128
REPLACE ALL field_dec WITH 1

** now this table should be ready to do a create gg from m2line

CREATE DATABASE out
ADD TABLE m2line  
**I am adding table to a database so that I can use long field names?

SELECT * FROM m2line INTO ARRAY(laFields)
CREATE TABLE gg FROM ARRAY laFields
But, I get this error message "fixed width or number
of decimal places is invalid"
Thanks
Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform