I found similar problem with Modal forms. Also make sure you use Alias.FieldName as Column's controlsource and not just FieldName. Finally, DESC is a reserved word, so it would be better to avoid it if possible (it's a general advice).
>Greetings all
>I build grids with code. Whenver I build a grid that is a child to a parent, my memo fields will not display contnet. when I double click on the "memo" cell, the grid looses focus and jumps to the next tab stop. Works fine for memo fields in the parent grid which is coded in the same manner.
>
>I am stumped on this one, any ideas??
>
>Vince
>
>PROCEDURE PoMastItemsGridRestore
>*** PoMaster Items
>WITH &gActiveForm .grdPOMastItems
> .linkMaster = "poMast"
> .childorder = gridIndx
> DO setGridGlobalProperties IN GridProcs
>.
>.
>.
> *** grid property Constructors
> x = x + 1
> .columns(x).width = 100
> *** desc field is type memo
> .columns(x).controlSource = "desc"
> *.columns(x).selectonentry = .T.
> .columns(x).header1.caption = DBGETPROP("poItems.desc","FIELD","CAPTION")
>.
>.
>.
>endwith
>return
If it's not broken, fix it until it is.
My Blog