open a record for editing on click

blueanchor

Registered User.
Local time
Today, 08:22
Joined
Aug 4, 2005
Messages
10
from a list of records showing limited information how can i open a record on clicking on it to show all information
 
would you mind sharing what you did?

I came up with one way of making data "editable" ie just have it in labels on form A (read only, effectively) and then form B is virtually the same but uses text boxes. If theres another way i'd be interested!!!
 
When you creat a event procedure on click or double click
add the following :

Dim strFormNAme As String
Dim strCriteria As String

strCriteria ="[yourcell name ] =' " & Me! [yourcell name] & " ' "
strFormName = "Your form name to open"

Docmd.openform strFormName, , , strCriteria, , acDialog


Hope this helps
 
You can set the Allow Edits property of the form through code, ditto Allow Addittions, Allow Deletions. A command button that toggles the Allow Edits property should do what you want.
 

Users who are viewing this thread

Back
Top Bottom