I can't add new record on a form, the add new record in navigation toolbar is disable on the form, but on properties I enable (addition,edit and delete)but still it's not working.
Please assist
Please assist
SELECT DISTINCTROW ESTABLISHMENT.Post_id
, ESTABLISHMENT.Post_idLevel
, Designation.Designation
, ESTABLISHMENT.PostGrade
, STRUCTURE.Cluster_Name
, STRUCTURE.ServiceUnit_Name
, STRUCTURE.Department_Name
, STRUCTURE.Branch_Name
, STRUCTURE.Division_Name
, STRUCTURE.Section_Name
, STRUCTURE.SubSection_Name
, STRUCTURE.Cluster_ID
, STRUCTURE.ServiceUnit_ID
, STRUCTURE.Department_ID
, STRUCTURE.Branch_ID
, STRUCTURE.Division_ID
, STRUCTURE.Section_ID
, STRUCTURE.SubSection_ID
FROM Designation
INNER JOIN (ESTABLISHMENT
INNER JOIN STRUCTURE
ON (ESTABLISHMENT.Cluster_Code
= STRUCTURE.Cluster_ID)
AND (ESTABLISHMENT.Branch_Code
= STRUCTURE.Branch_ID)
AND (ESTABLISHMENT.Section_Code
= STRUCTURE.Section_ID)
AND (ESTABLISHMENT.SubSection_Code
= STRUCTURE.SubSection_ID)
AND (ESTABLISHMENT.Division_Code
= STRUCTURE.Division_ID)
AND (ESTABLISHMENT.Dept_code
= STRUCTURE.Department_ID)
AND (ESTABLISHMENT.Unit_Code
= STRUCTURE.ServiceUnit_ID))
ON Designation.DesignationID
= ESTABLISHMENT.DesignationID;
Private Sub Combo32_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Section_ID] = " & Str(Nz(Me![Combo32], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
rs.close set rs = nothing
On Error GoTo Err_msg
.... your routine's other code here ....
exit sub (or function)
Err_msg: msgbox "Error " & err.number & " " err.description
resume next
Comment