Yossi,
Most probably your combobox.RowSourceType is set to 3 - SQL statement and the string value in thisform.rowsourceflocksall is not a valid SQL statement.
HTH
>Sorry. I didn't make it clear. I also have a property called rowsourceflocks
all.
>
>This also doesn't work:
>
>
>x = 'cat'
>thisform.cbo01FlockName.RowSource = x
>
>
>And it doesn't help to put it in quotes.
>
>Yossi
>
>>The name of the properties doesn't match (rowsourceflocks
new - rowsourceflocks
all)
>>
>>HTH
>>
>>>I kinda feel stupid with this problem. I have a property on my form called 'rowsourceflocksnew'. I have a combo box on the form called 'cbo01FlockName'.
>>>
>>>Why am I getting 'unrecognized command verb' on the following line in the init of the form?
>>>
>>>
>>>thisform.cbo01FlockName.RowSource = thisform.rowsourceflocksall
>>>