>I recently stumbled onto a 'feature' where I can set a combo's rowsource to have VFP expressions.
>
>E.g. this.Rowsource = ALLTRIM(viewname.fieldname1),fieldname2,fieldname3
>
>Now, I have a combo that is multi-column, and I need column #2 to not have trailing whitespace. So I have tried:
>this.rowsource = ALLTRIM(viewname.fieldname1),ALLTRIM(fieldname2),fieldname3
>But this yields an error.
>
>Does anyone have a workaround, or know what I am doing wrong?
I don't think you can do something like that. I would just play with ColumnWidths instead.
If it's not broken, fix it until it is.
My Blog