ADO database closure

ADO database closure

mhardine
Contributor Contributor
281 Views
1 Reply
Message 1 of 2

ADO database closure

mhardine
Contributor
Contributor
I have this routine that I've adapted which inserts data from an access database into a table within the drawing. My problem is that although the routine seems to be closing the connection to the database, if I try to access the database either again using the same routine or via any other method I get a "File Already In Use" error until I close AutoCAD and restart it.
Anyone have a clue what I've got jacked up here?
(file attached)
Thanks in advance
0 Likes
282 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Sorry, wrong group. Please try the Customization
group.

 

Joe ...

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have this routine that I've adapted which inserts data from an access database
into a table within the drawing. My problem is that although the routine seems
to be closing the connection to the database, if I try to access the database
either again using the same routine or via any other method I get a "File
Already In Use" error until I close AutoCAD and restart it. Anyone have a clue
what I've got jacked up here? (file attached) Thanks in advance
0 Likes