Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.
Private Sub Form_Load() 'Set error trap On Error Resume Next Dim strPath As String Dim db As Object Dim rst As DAO.Recordset Set rst = Me.RecordsetClone With rst If .RecordCount Then .MoveFirst Do Until .EOF 'When the last record is reached the code stops Me.Bookmark = .Bookmark ' Assign ID as path for images strPath = Me.ID 'Establish path for existing images and default path for missing immages Debug.Print "Error code: " & Err 'If Err <> 0 Then 'strPath = CurrentProject.Path & "\Resources\Images\ths.png" 'Else strPath = CurrentProject.Path & "\Resources\Images\Students\" & strPath & ".jpg" 'End If 'Load picture and name to form Me.Controls("Seat" & Me.Chair).Picture = UCase(strPath) Me.Controls("Student" & Me.Chair) = Me.Last & ", " & Me.First strPath = "" .MoveNext Loop End If End With rst.Close Set rst = Nothing End Sub
|General Question Over Ms Access Reference Libraries, Runtime, and the Such in VBA||2||32|
|MS Access query date sorting question||7||11|
|Why is my report opening in "MAX" view?||7||9|
|How to create a delete query to delete entire records||2||10|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!