Hello All

When ever i populate data combo with recordset during run time.Following error occured -

"Object variable or with variable not set"

Command which generate this error is -

dccombo1.rowsource = rsCompany

Recordset type is openstatic and lock type is read only.
Rcordset is properly declared and open with some record.

Any one can help me in this regard.