السلام عليكم
عندى كود كما يلى :
Dim Comp
Dim Grant
Comp= fOSMachineName
MsgBox ("Computer Name is ") & Comp
Grant = DLookup("Main", "Grant", "Pcname = " & Comp)
fOSMachineName
هى تعطى اسم الجهاز
عند التشغيل يعطى الرساله التاليه
The expression you entered as a query parameter produced this error :The object doesn't contain the Automation object
فما سبب هذا الخطأ ؟؟؟؟
وشكرا

