hedge
05-04-2001, 10:19 PM
I would like to use find on my form to find a record that is read only then once the record is found if data is required to be eddited i can use a command button to edit the record in the form view.
|
View Full Version : edit a read only form hedge 05-04-2001, 10:19 PM I would like to use find on my form to find a record that is read only then once the record is found if data is required to be eddited i can use a command button to edit the record in the form view. Jack Cowley 05-05-2001, 11:46 AM Your question is a bit vague so I am not sure what you are after. If you have set your forms Allow Edits event to No you can change it to Yes with 'Me.AllowEdits = True' as the code behind the On Click event of a command button. This will allow you to edit the record. hedge 05-07-2001, 03:50 AM Sorry for being so vauge with my question but I think you have the answer that I am looking for only when I use that command on the click event whith a button an error appears looking for a macro name. If you mean I should be doing this in visual basic sorry I dont know how to program at this stage. Or if I should be useing a macro what action should I use. Stew 05-07-2001, 07:50 AM This should be done in visual basic. If you click the code button in form design and open the code editor, you can select the name of the button in the left drop-down box and the click-event in the right drop-down box and place Me.allowedits = true within that block. |