GPSAddict
asked on
Access: Disable Highlight/Multiselect in a datasheet subform
How can I do this by code ? The reason is that I don't want the user to delete multiple records at once...only one at a time. Thanks
I don't think you can disable this.
You could set AllowDeletes to No, then via a Delete button, turn that on, delete one record, then turn it back off. Also, ask the use to click into the row of the record to be deleted.
mx
You could set AllowDeletes to No, then via a Delete button, turn that on, delete one record, then turn it back off. Also, ask the use to click into the row of the record to be deleted.
mx
ASKER
DatabaseMX: That still gives them the possibility to select multi rows.
LSMConsulting: It is a standard form, with a table as recordsource that has been set to show as a datasheet.
Thanks
LSMConsulting: It is a standard form, with a table as recordsource that has been set to show as a datasheet.
Thanks
Have you tried this as a Continuous Form? IIRC, you cannot multiselect in a Continuous form. You can also build your continuous form to look almost exactly like a Datasheet, but you get a bit more Events to work with (which is a good thing in general).
ASKER
So there's no easy way around this huh ? I mean keeping it as a datasheet.
ASKER
I like DatabaseMX solution however but I still need to disable the multi-selection.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I ask because working with these two types are entirely different ..