I was surprised that there was no error when creating a table from the
data in COPY STRUCTURE EXTENDED, or the cursor created with the array
from AFIELDS and the field name column tweaked with dashes.  At least
the cursor created a name that was usable, but still no error or any
indication the field name was not what was chosen.

If you try to create a table from code using CREATE tablename
(field-name C(10)), you at least get a syntax error.

Fred



On Mon, Nov 1, 2010 at 2:26 PM, Dan Covill <dcov...@san.rr.com> wrote:
> On 11/1/2010 12:54 PM, Kurt Wendt wrote:
>> Yeah - exactly. I got an error when trying to replace data into the field - 
>> and that's when I tried to change the data structure - and got the next 
>> error as noted in the Subject.
>
> Looks like there are a couple of problems with VFP's handling of this.
> Seems to me that the DBC shouldn't allow you to generate or attach a
> table that has invalid field names.  An error when replacing data is way
> too late!
>
> Dan Covill
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/aanlkti=u5-ny61rqfet9neuscfkewln8=kffou8mn...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to