How to add edit button...

S

SF

Hi,

I have an unbound form that have a combobox ([ID]) use to supply the id. On
the unbound form I have a subform display related records in datasheet view,
records are normally lock from editing.

Now I want to put a Edit button on each row, so that user can click on the
button open another form with specified record for editing. How to do that?

(I remember seeing this groups having a code to put on a hyperlink filed
(not sure) )

SF
 
S

SnakesPlane55

You can't put a button for editing on a datasheet form so if you want
to keep your subform in datasheet view you have to code the edit
function to an event. In this case, you could code the OnDouble-Click
event to open your editable form to the record you are on. You may have
to apply a filter based on the record you've selected. What is the your
editable form's RecordSource property set to?
 
Top