Hi,
I am gettin the "User defined type not defined" error at this point in the code

Private Function AppendFields(CurMap As MapObjects2.Map, CurLegend As MO2legend.legend, NewRecordset As ADODB.Recordset, colParameters As Collection)

I thought its cos i am not providing reference for adodb, even after addin the reference ,error still persists. does collection object need any reference? Could you please tell me what might be going wrong?

Thanks

Karunya