Hi, I have the (really helpfull) error "You canceled the previous operation" coming up on the piece of code marked with a string of stars below:
Dim IntMaxRev As Integer
Dim strOpen As String
strOpen = "[ProjectNumber] = '" & Me.ProjNo & "' and [PNo] = " & Me.PNo
IntMaxRev = Nz(DMax("Rev", "TblPMain", strOpen), 0) *****
Any ideas why?
Dim IntMaxRev As Integer
Dim strOpen As String
strOpen = "[ProjectNumber] = '" & Me.ProjNo & "' and [PNo] = " & Me.PNo
IntMaxRev = Nz(DMax("Rev", "TblPMain", strOpen), 0) *****
Any ideas why?