Metin,
The first error is telling you that the long field name is invalid for a table that is not on a database.
The second one is telling you that the name of the dbf is NOT test, create cursor takes an alias as the name and it decides what to name the table. VFP alos does not commit the cursor to disk until necessary so even the following opens the open file dialog;
CREATE CURSOR test (long_field_name c(1))
ALTER table DBF("test") add shortf c(1)
I don't think either of these are bugs.
>Hi All,
>
>*** this is the first bug *********
>CREATE CURSOR test (shortf c(1))
>
>ALTER table test add long_field_name c(1)
>
>***** this is the second bug *******
>CREATE CURSOR test (long_field_name c(1))
>
>ALTER table test add shortf c(1)
>