Unbound object frames showing blank -
08-26-2010
, 04:03 AM
I have an Unbound object frames called letter
The routine below runs on the OnCurrent of the form.
The CheckFileExists(DocID) returns true or false if it finds the document
If CheckFileExists(DocID) = False Then
With Letter
.SourceDoc = ""
.OLETypeAllowed = acOLELinked
.Enabled = True
.Locked = False
.Action = acOLEDelete
.Action = acOLEUpdate
.Action = acOLEClose
.Requery
End With
Exit Sub
End If
What I want to happen is to show an empty frame if the document cant be
found, but it continues to show the picture of the last document successfully
retrieved.
The various .Action bits were tries that didn't appear to help
Phil |