Thanks a lot ...
> > Thanks,but afields() only saves field structure and does not create properties
>
> I know, hence the rest of my code...
>
> Does this limititation still exist in VFP9 ?
>
> Not in 9, I just tested it:
> CREATE TABLE testtable FREE codepage=1252 (Field1 c(1))
> FOR lni = 2 TO 255
> lcField = "field"+TRANSFORM(lni)
> ALTER TABLE testtable ADD COLUMN (lcField) c(1)
> endfor
> APPEND BLANK
> SCATTER MEMO NAME otable
> otable.field255
> 
>
>
> Boudewijn Lutge®ink
> My Blog is here
>