>Update: Crap! We are limited to a ColumnCount of 1. So this only works if the value I want to store in the ControlSource is the lookup description instead of the PK. I guess I could just list the PK of the lookup values in the combo and let the users guess which PK to select. THIS IS WORTHLESS!!!!!!!!!!!!!!!!! < SET RANT OFF >
OK, you have found the display count, but I don't understand why would you be limited to one column? My favorite trick is to manipulate the ColumnWidths so that the unwanted columns are invisible. Say I have a description in column 1 and a key in 2. In combo.init:
this.columnwidths=tran(this.width)+",0"
this.boundcolumn=2
this.boundto=.t.
IOW, are you limited to a ColumCount of 1, or to display just one column? This is the way to achieve the latter.