hello all
I have one problem. I have lost 2 days with browsing but no possitive effect :(
Description:
I have database A - (dbA) and database B (dbB). I want from some form of dbA call procedure, which checks, other instance of MS access with dbB is running...if not, then creates new instance and opens this database. And the same also in reverese: run check from dbB if dbA is opened on current computer and if not, opens it.
I have no idea how to do this... i have spent days with AUTIMATION and access.applicat ion object and methods GetObject(),Cre ateObject...Mai n problem is, that GetObject doesn't garantee which instance it chooses(in best case it returns needed dbB from dbA or dbA from dbB)... Maibe some cooperation of API and Automation can handle this , i am not sure...Please, help me if you can...Zdeno
I have one problem. I have lost 2 days with browsing but no possitive effect :(
Description:
I have database A - (dbA) and database B (dbB). I want from some form of dbA call procedure, which checks, other instance of MS access with dbB is running...if not, then creates new instance and opens this database. And the same also in reverese: run check from dbB if dbA is opened on current computer and if not, opens it.
I have no idea how to do this... i have spent days with AUTIMATION and access.applicat ion object and methods GetObject(),Cre ateObject...Mai n problem is, that GetObject doesn't garantee which instance it chooses(in best case it returns needed dbB from dbA or dbA from dbB)... Maibe some cooperation of API and Automation can handle this , i am not sure...Please, help me if you can...Zdeno
Comment