Skip to content

Commit

Permalink
ConvertPDFs made more sophisticated and more appropriately renamed Re…
Browse files Browse the repository at this point in the history
…namePDFs
  • Loading branch information
C. Johnson committed Apr 26, 2018
1 parent c0d4b0a commit 51a4165
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 112 deletions.
4 changes: 2 additions & 2 deletions Form_Accessions.cls
Expand Up @@ -149,7 +149,7 @@ AttachToRecordCatch:
Dim Fixed As Boolean

Let Fixed = False
If Err.Number = NOHOOK_EXCEPTION Then
If Err.Number = EX_NOHOOK Then

If Me.NewRecord Then
AccnScanListView.View FileName:=sItem
Expand Down Expand Up @@ -539,7 +539,7 @@ Private Function regexpIsAccnScanFile() As Object

With oIsAccnFile
.IgnoreCase = True
.pattern = "^([A-Z0-9]+)_([0-9]+)_([0-9]+)_([0-9]{4})([0-9]{2})?([0-9]{2})?.*[.]PDF(|.*)$"
.Pattern = "^([A-Z0-9]+)_([0-9]+)_([0-9]+)_([0-9]{4})([0-9]{2})?([0-9]{2})?.*[.]PDF(|.*)$"
End With

Set regexpIsAccnScanFile = oIsAccnFile
Expand Down

0 comments on commit 51a4165

Please sign in to comment.