M
M.
To save development time to it's minimum, I'm considering to use the
datasheet display of each of my forms in read-only together with the normal
formview in editable mode. The reason is that the datasheet display allows a
(more) flexible way to sort, filter and search records than the formview
does. The alternative would be to design additional filter and search forms.
Is it a sound idea to use the datasheet display like this or are there
disadvantages associated? Any advice is greatly appreciated.
Details of form
The autonumber control amID is displayed as a hyperlink field. Clicking on
it activates the following code to switch between DataSheet and FormView
display mode:
Private Sub amID_Click()
Const conFormView = 1
Const conDataSheet = 2
Select Case Me.CurrentView
Case conFormView
Me.AllowEdits = False
DoCmd.OpenForm "AmendementFM", acFormDS
Case conDataSheet
Me.AllowEdits = True
DoCmd.OpenForm "AmendementFM", acNormal
End Select
End Sub
datasheet display of each of my forms in read-only together with the normal
formview in editable mode. The reason is that the datasheet display allows a
(more) flexible way to sort, filter and search records than the formview
does. The alternative would be to design additional filter and search forms.
Is it a sound idea to use the datasheet display like this or are there
disadvantages associated? Any advice is greatly appreciated.
Details of form
The autonumber control amID is displayed as a hyperlink field. Clicking on
it activates the following code to switch between DataSheet and FormView
display mode:
Private Sub amID_Click()
Const conFormView = 1
Const conDataSheet = 2
Select Case Me.CurrentView
Case conFormView
Me.AllowEdits = False
DoCmd.OpenForm "AmendementFM", acFormDS
Case conDataSheet
Me.AllowEdits = True
DoCmd.OpenForm "AmendementFM", acNormal
End Select
End Sub