In order to share a connection between different queries you would need to set the
AutoClone property of the connection to false:
SQLConnection1.AutoClone:=false;
 | This capability is very useful when you would like to determine the last insert id, which has
been executed by another query (so you would not need to re-prepare the query, which would need in a
speed improvement). |