Problem using Connection created outside DataModule
Hello guys.
I have a problem when performing an enduser implementation. I need to reuse a database connection already established in my system, because I use temporary tables in my database that are only stored during the connection, so I can't create a new connection so I don't lose access to my data. But when trying to use a connection object created outside the DM (or creating as OWNER = NIL), I get the following error: "No DataBase Object Found". Could anyone help me how to solve this?
I have a problem when performing an enduser implementation. I need to reuse a database connection already established in my system, because I use temporary tables in my database that are only stored during the connection, so I can't create a new connection so I don't lose access to my data. But when trying to use a connection object created outside the DM (or creating as OWNER = NIL), I get the following error: "No DataBase Object Found". Could anyone help me how to solve this?