My .02
If the table you are creating is a free table, long field names (ie, greater than 10) are not supported.
If the extended structure file contains field names with lengths greater than 10, VFP will truncate all characters after the 10th position. Odds are, after the truncation, you have duplicate field names.
Run this query on your extended structure table:
SELECT LEFT(field_name,10) as uniname from MyFile GROUP BY uniname HAVING COUNT(field_name) > 1 INTO CURSOR mycursor
If any records are returned, you need to modify the field names in your extended structure file or create the table in a database. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>The World Is Headed For Mutiny.....When All We Want Is Unity. - Creed[/sig]