Nope. But, didn't have to - since I resolved the problem by fixing the actual 
DBF structure.

-K- 

-----Original Message-----
From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On 
Behalf Of Gianni Turri
Sent: Monday, November 01, 2010 6:22 PM

Have you tried to put the offending fieldname between double quote?

"field-name"

Gianni

On Mon, 1 Nov 2010 15:01:56 -0700, Fred Taylor <fbtay...@gmail.com> wrote:

>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


_______________________________________________
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/289ea162f5642645b5cf64d624c66a1409df1...@us-ny-mail-002.waitex.net
** 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