B
Bob Quintal
If the field you wish to update is included in the table/queryHelp?
I have a form that displays a database table row - I have a
command button on that form that I want to use to update an
attribute of the record that isn't displayed on the form. My
database record uses an autonumber primary key that is also
not displayed on the form. Is there some way for the code of
the command button OnClick event method to retrieve the member
of the recordset that is currently being displayed and either
update it or retrieve the value of the primary key so that I
can perform an update query against the table? (My assumption
is that the recordset that is being used to "feed" the form
contains more fields than just those being displayed on the
form.) The .CurrentRecord property appears to provide an
index into the recordset, but I don't see how to use that
attribute to update the recordset.
Can anyone provide pointers?
Thanks,
-jdc
underlying the form, you can update it very simply
me![field_name] = whatever