Hi, I'm passing a recordset to a usercontrol, and i like the usercontrol to have a recordset property. But I can't do it. It is not valid.
---------------------
at form:
set db = dbengine.opendatabase (...)
set rs = db.openrecordset("anything")
usercontrol.RS = rs
-----------------------
at usercontrol:
public property get/let(byval m_rs as recordset)
.....
end property
-----------------------
the above won't work. Anyone know alternative to this, do i need to use DataMembers instead?




Reply With Quote