Hello,
I use the following code to open a table called Value_UAE that has three fields,
---------***CODE****--------------
Private Sub Command1_Click()
stDocName = "Value_UAE"
DoCmd.OpenTable stDocName, acViewNormal, acEdit
End Sub
---------***CODE****--------------
I need to change this code in such a way that the users can edit the Values in the table opened but cannot add a new record. I have noticed that the following code allows the users to both add and edit. I am a novice and any help would be appreciated
regards,
Vineeth
I use the following code to open a table called Value_UAE that has three fields,
---------***CODE****--------------
Private Sub Command1_Click()
stDocName = "Value_UAE"
DoCmd.OpenTable stDocName, acViewNormal, acEdit
End Sub
---------***CODE****--------------
I need to change this code in such a way that the users can edit the Values in the table opened but cannot add a new record. I have noticed that the following code allows the users to both add and edit. I am a novice and any help would be appreciated
regards,
Vineeth