Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
DoCmd.Close
Exit_Command5_Click:
Exit Sub
Err_Command5_Click:
MsgBox Err.Description
Resume Exit_Command5_Click
End Sub
__________________________________________________________________
Err_Command40_Click:
MsgBox Err.Description
Resume Exit_Command40_Click
End Sub
Private Sub Command41_Click()
On Error GoTo Err_Command41_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
Exit_Command41_Click:
Exit Sub
Err_Command41_Click:
MsgBox Err.Description
Resume Exit_Command41_Click
End Sub
Private Sub Command43_Click()
On Error GoTo Err_Command43_Click
DoCmd.Close
Exit_Command43_Click:
Exit Sub
Err_Command43_Click:
MsgBox Err.Description
Resume Exit_Command43_Click
End Sub
Private Sub Command44_Click()
On Error GoTo Err_Command44_Click
Screen.PreviousControl.SetFocus
DoCmd.FindNext
Exit_Command44_Click:
Exit Sub
Err_Command44_Click:
MsgBox Err.Description
Resume Exit_Command44_Click
End Sub
Private Sub Command45_Click()
On Error GoTo Err_Command45_Click
Screen.PreviousControl.SetFocus
DoCmd.FindNext
Exit_Command45_Click:
Exit Sub
Err_Command45_Click:
MsgBox Err.Description
Resume Exit_Command45_Click
End Sub
Private Sub Command46_Click()
On Error GoTo Err_Command46_Click
Screen.PreviousControl.SetFocus
DoCmd.FindNext
Exit_Command46_Click:
Exit Sub
Err_Command46_Click:
MsgBox Err.Description
Resume Exit_Command46_Click
End Sub
Private Sub Command47_Click()
On Error GoTo Err_Command47_Click
Screen.PreviousControl.SetFocus
DoCmd.FindNext
Exit_Command47_Click:
Exit Sub
Err_Command47_Click:
MsgBox Err.Description
Resume Exit_Command47_Click
End Sub
Private Sub Command49_Click()
On Error GoTo Err_Command49_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Command49_Click:
Exit Sub
Err_Command49_Click:
MsgBox Err.Description
Resume Exit_Command49_Click
End Sub
Private Sub Command50_Click()
On Error GoTo Err_Command50_Click
DoCmd.GoToRecord , , acNewRec
Exit_Command50_Click:
Exit Sub
Err_Command50_Click:
MsgBox Err.Description
Resume Exit_Command50_Click
End Sub
Private Sub Command51_Click()
On Error GoTo Err_Command51_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_Command51_Click:
Exit Sub
Err_Command51_Click:
MsgBox Err.Description
Resume Exit_Command51_Click
End Sub
Private Sub Command52_Click()
On Error GoTo Err_Command52_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Command52_Click:
Exit Sub
Err_Command52_Click:
MsgBox Err.Description
Resume Exit_Command52_Click
End Sub
Private Sub Command53_Click()
On Error GoTo Err_Command53_Click
DoCmd.Close
Exit_Command53_Click:
Exit Sub
Err_Command53_Click:
MsgBox Err.Description
Resume Exit_Command53_Click
End Sub
'Private Sub Command60_Click()
'On Error GoTo Err_Command60_Click'
'Dim stAppName As String
'stAppName = "C:\Program Files\WinRAR\WinRAR.exe"
'Call Shell(stAppName, 1)
'Exit_Command60_Click:
' Exit Sub
'Err_Command60_Click:
' MsgBox Err.Description
' Resume Exit_Command60_Click
'End Sub
_____________________________________________________________
OSNOVNA MASKA
Option Compare Database
Private Sub Command3_Click()
On Error GoTo Err_Command3_Click
DoCmd.Close
Exit_Command3_Click:
Exit Sub
Err_Command3_Click:
MsgBox Err.Description
Resume Exit_Command3_Click
End Sub
Private Sub Command10_Click()
On Error GoTo Err_Command10_Click
DoCmd.Quit
Exit_Command10_Click:
Exit Sub
Err_Command10_Click:
MsgBox Err.Description
Resume Exit_Command10_Click
End Sub
____________________________________________
unos usluge ili dijela
Option Compare Database
Private Sub Command2_Click()
On Error GoTo Err_Command2_Click
DoCmd.GoToRecord , , acNewRec
Exit_Command2_Click:
Exit Sub
Err_Command2_Click:
MsgBox Err.Description
Resume Exit_Command2_Click
End Sub
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub