Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field name is dup or invalid problem
Message
From
08/10/2007 16:50:49
 
 
To
08/10/2007 16:33:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01259572
Message ID:
01259580
Views:
17
Does this work?
CREATE TABLE (lcFilename) FREE ( contract_id C(12), service_id C(12), ;
     sub_id C(3), startdate D, enddate D)
Or maybe I am blind today as well :o) Are your field names longer than 10 chars? Wouldn't be the first time for me...



>Hi All,
> I am blind today. I have the following in code and get the error "Field name is a duplicate or invalid" when it hits the create table line. lcFilename is a valid path and new table name, no table by that name in the directory.
>
>  lcFilename = gPrintTables + "trnsct3.dbf"
>  ...
>  CREATE TABLE (lcFilename) FREE ( contract_id C(12), service_id C(12), ;
>     sub_id C(3), startdate D(8), enddate D(8) )
>
>
>Can someone tell me, please, what I am missing? It looks the same as four other lines I have in other progs.
>
>TIA
>Beth
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform