Rodd,
VFP is expecting a field list...I don't think VFP wants to be pushed in the direction you are taking it.
How bout using rowsourceType of 3 and using a SELECT statement containing the transform()?
>I have the following code in the activate of a page:
>
>this.lstntm1.RowSource = [TRANSFORM((matches.rank/7)*100,"999%"),name]
>this.lstntm1.RowSourceType = 6
>
>Matches is the name of a cursor. Rank and Name are fields in the cursor.
>
>This code works great and the listbox displays them no problem. However, what I really want is to see name first and then my expression. Everytime I try to switch them around, things go haywire.
>
>I've tried the following:
>
>... = [matches.name, TRANSFORM((matches.rank/7)*100,"999%")]
>... = [matches.name, TRANSFORM((rank/7)*100,"999%")]
>... = [matches.name, = TRANSFORM((rank/7)*100,"999%")]
>
>Will a listbox not accept expressions if they are not in the first column?
>
>Thanks in advance for your input.
>
>Rodd
Steve Gibson