Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook, ContactItem, and field names
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01143190
Message ID:
01143275
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform