>Hi,
>
>the combBox is Read only,
>Enabled = .t.
>Style is 2- Drop down List
>BoundTo = .T.
>RowSourceType = 3
>
>The code as follow
>
>
>thisform.cboInvNo.ControlSource = "invoice.invno"
>thisform.cboInvNo.RowSource = "select invoice.invno from invoice into cursor cboInvNo"
>thisform.cboInvNo.ListIndex = 1
>
>
>Which area wrong ?
>Please advise.
>Thanks.
>Derek
The ReadOnly = .T. is preventing you from clicking it. Set that to .F. and the Style = 2 (Dropdown List) will prevent changing the items in the list.
Chris.