Thank you, but that is not it.. :(
Mike

On 14/12/2010 11:37 AM, Fred Taylor wrote:
> If it doesn't work there, maybe moving .Listindex to after the
> .Boundxxx settings.
>
> Fred
>
>
>
> On Tue, Dec 14, 2010 at 9:34 AM, Michael Savage<[email protected]>  wrote:
>> I'm not sure I understand: Here is the code snippet.
>> WITH THISFORM.cmbGetValue
>>      DIMENSION .aList[nSize,3]
>>      IF nSize=1
>>          .aList[1,1]='No Selections Defined Yet'
>>          .aList[1,2]='Please Define A New Selection (Click Button To The
>> Left)'
>>          .aList[1,3]=1
>>      ELSE
>>          SELECT DeptListing
>>          .aList[1,1]='Please Make A Selection'
>>          .aList[1,2]='Please Make A Selection or Click Left Button To
>> Define A New One'
>>          .aList[1,3]=0
>>          SCAN
>>              SCATTER MEMVAR
>>              nSize = nSize + 1
>>               .aList[nSize,1]=m.brief
>>               .aList[nSize,2]=m.descrip
>>               .aList[nSize,3]=m.depthdrid
>>          ENDSCAN
>>      ENDIF
>>      .RowSourceType=5
>>      .RowSource=.aList
>>      .listindex=1&&  Your suggestion??? Did I do it right??
>>    .BoundTo=.T.
>>      .BoundColumn=3
>> ENDWITH
>>
>> On 14/12/2010 11:19 AM, Fred Taylor wrote:
>>> Set the ListIndex property to 1 (or some other value).
>>>
>>> Fred
>>>
>>>
>>>
>>> On Tue, Dec 14, 2010 at 8:49 AM, Michael Savage<[email protected]>    
>>> wrote:
>>>> I have a combo box with three columns, of which two are hidden. I want
>>>> to display the info in the the first column, first element of the first
>>>> row at startup.
>>>>
>>>> So I have a property of the combo box, called aList
>>>> I tried setting the RowSource to this.aList
>>>> and the RowSourceType to 5 (&&    Array)
>>>> I then fill it with values.
>>>>
>>>> I also set the bound column to 3, (a primary key value). The boundto has
>>>> been set to .t.
>>>> I get no errors, but the combo box displays, nothing at all.
>>>>
>>>> What have I forgotten to do?
>>>> TIA,
>>>> Mike
>>>>
>>>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to