02-10-2020, 11:19 AM
Hi zsleo,
After a number of tests, and much moving components around making sure all is with UserSession, I have tested and tested various scenarios. Finally I have found a working solution, and after that, I'm in doubt as to how many of my changes are actually necessary. The main thing is that is works now, but I would like to know for certain, exactly what is needed to make it work.
So my question to you is still: Do you add a DBConnection component to the same datamodule as the ADOQuery components, and then set the ADOQuery.connection := dbconnection, and if, do you do that in the create event of the datamudule, or in the procedure just before the call to ADOQuery.open ?
Regards
Soren
After a number of tests, and much moving components around making sure all is with UserSession, I have tested and tested various scenarios. Finally I have found a working solution, and after that, I'm in doubt as to how many of my changes are actually necessary. The main thing is that is works now, but I would like to know for certain, exactly what is needed to make it work.
So my question to you is still: Do you add a DBConnection component to the same datamodule as the ADOQuery components, and then set the ADOQuery.connection := dbconnection, and if, do you do that in the create event of the datamudule, or in the procedure just before the call to ADOQuery.open ?
Regards
Soren