T
TC
In Access 97 & below you can not bind the controls of a form onto the fields
of a manually generated recordset. You can only bind them to the fields in
the recordset implied by the form's RowSource property (or whatever it's
called - I don't have Access here to check). By "binding controls to
fields", in this context, I assume tat we both mean, "establishing a link
between the controls & the fields such that any changes to the control
values will be *automatically* updated into the relevant fields".
So to do an unbound form, you must trap every relevant event that can occur
in the form and the form'ds controls, & write code to update the database
accordingly. For example, if the user clicks your [Save] button, you would
need to write code to explicitly update the values in the existing record
(or create a new one). In an unbound form, Access will not do that for you.
You will have to do it yourself.
Bound forms are way easier, because they do all of the updating for you. All
you have to add is custom validation etc.
Why do you need an unbound form?
HTH,
TC
of a manually generated recordset. You can only bind them to the fields in
the recordset implied by the form's RowSource property (or whatever it's
called - I don't have Access here to check). By "binding controls to
fields", in this context, I assume tat we both mean, "establishing a link
between the controls & the fields such that any changes to the control
values will be *automatically* updated into the relevant fields".
So to do an unbound form, you must trap every relevant event that can occur
in the form and the form'ds controls, & write code to update the database
accordingly. For example, if the user clicks your [Save] button, you would
need to write code to explicitly update the values in the existing record
(or create a new one). In an unbound form, Access will not do that for you.
You will have to do it yourself.
Bound forms are way easier, because they do all of the updating for you. All
you have to add is custom validation etc.
Why do you need an unbound form?
HTH,
TC