J
Joseph Atie
Im trying to populate a form with a recordset using the following piece of code
Call open_recordset(rs, qry, check)
If check = 1 Then
DoCmd.OpenForm "equip_update_2", acNormal, , , acFormEdit,
acWindowNormal
DoCmd.Close acForm, "equip_update_1", acSaveNo
Forms!equip_update_2.Recordset = rs
Call close_recordset(rs)
im getting the error
runtime error 3251 operation is not supported for this type of object
ive done this many times before in sub & even subsub forms with no problem
anyone got any ideas as to what this error means?
also the form is bound to a table and the fields are bound to the fields of
that table.
i know i can manually push each field from the recordset to the field in the
form, but this way is alot neater.
help please
Call open_recordset(rs, qry, check)
If check = 1 Then
DoCmd.OpenForm "equip_update_2", acNormal, , , acFormEdit,
acWindowNormal
DoCmd.Close acForm, "equip_update_1", acSaveNo
Forms!equip_update_2.Recordset = rs
Call close_recordset(rs)
im getting the error
runtime error 3251 operation is not supported for this type of object
ive done this many times before in sub & even subsub forms with no problem
anyone got any ideas as to what this error means?
also the form is bound to a table and the fields are bound to the fields of
that table.
i know i can manually push each field from the recordset to the field in the
form, but this way is alot neater.
help please