>AlterTable add a field in a table, what code can insert a field in a middle of table ?
>And is there any code that can add field on temporary cursor ?
>
>
>TIA
When I select data to a cursor and that cursor will not allow me to change its structure, etc., I do the following.
Select MyCursor
lcName = dbf() && this gives you the actual temporary file name
select 0
use (lcName) again alias NewCursorName
use in MyCursor
At this point I can do what every I want to the cursor, zap, index, add fields, modify field types and widths, etc.
Mark McCasland
Midlothian, TX USA