T
Tito Salazar
I am trying to use "dwgthumbnail.ocx"-control to show a thumbnail of
an AutoCAD drawing in a Access 2003 form
The form has a text box (DwgFilename) with a valid drawing name and path.
When I open the form I get a thumbnail preview of the drawing for the first
record but as soon as I go to the next record I get the following error:
Update or CancelUpdate without AddNew or Edit. (Error 3020)
Here is the code:
Private Sub DwgThumbnail1_Updated(Code As Integer)
On Error Resume Next
With DwgThumbnail2
.DwgFileName = [DwgFilename]
.Refresh
End With
End Sub
As I understand the ocx is working fien, the error is generated by Access
Any suggestions?
Thanks in advance
/Tito Salazar
an AutoCAD drawing in a Access 2003 form
The form has a text box (DwgFilename) with a valid drawing name and path.
When I open the form I get a thumbnail preview of the drawing for the first
record but as soon as I go to the next record I get the following error:
Update or CancelUpdate without AddNew or Edit. (Error 3020)
Here is the code:
Private Sub DwgThumbnail1_Updated(Code As Integer)
On Error Resume Next
With DwgThumbnail2
.DwgFileName = [DwgFilename]
.Refresh
End With
End Sub
As I understand the ocx is working fien, the error is generated by Access
Any suggestions?
Thanks in advance
/Tito Salazar