VFP7SP1. I have a combo class that retrieves records from lookup tables into an array. I am trying to limit the drop down list to 5 items by setting the NumberOfElements to 5. This property shows the correct value of 5 in the debugger, but the list always shows 7 items. My next illogical step was to set the NumberOfElements to 3 hoping to get to 5. Nope. I still get 7 listed. Am I missing something? TIA!
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 >
Mark McCasland
Midlothian, TX USA