Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Most COM objects cannot be global
#1
The following macro runs properly :
Function tempf10
Code:
Copy      Help
Database+ dbSoil
str fSoil="C:\MSDEV\SES\Spunal\SoilDB\Soilch.mdb"
dbSoil.Open(dbSoil.CsAccess(fSoil))

however, it gives the warning :
"Most COM objects cannot be global (+). Or may need <help>lock. Need to release explicitly. "

I am in need of some further advice on this issue. Actually, I am in need to open this data base once, and then access it by 2 or three QM items, one at each time. It works. However, I feel the need to get some further advice on this issue. Many thanks in advance.
#2
If works, you can just mute the warning.


Forum Jump:


Users browsing this thread: 2 Guest(s)