I'm puzzled by some weird formatting behavior in a grid. The grid is read-only and is populated by code in the click method of the textbox contained in each cell. In some cells the data is formatted correctly; in others it is displayed with 12 leading spaces.
To be specific, in a grid with 10 columns, the text will format correctly in columns 1,2,3,5,7,9 and incorrectly in cols 4,6,8,10. When I check the field in the controlsource cursor there are no leading spaces, nor does the textbox.value. Weird!
Is this a known bug?
Dale
Dale G.Leopold - ElseWare
Microsoft Certified Solution Developer