qathi قام بنشر سبتمبر 4, 2019 مشاركة قام بنشر سبتمبر 4, 2019 أرجو من أخواني الأفاضل ضبط كود التالي Me.HdihSr = Nz(DSum(" [PriceSB] ", "00KashfTodayRsdCkdm", "[Movement] = 'هدية' and [Movement] = 'تالف' and [Movement] = 'مفقود' and [ItemAAID] = 110 and [OutDate] Between forms!KashfToday_F!Date1 And forms!KashfToday_F!Date2"), "0") وتحديداً "[Movement] = 'هدية' and [Movement] = 'تالف' and [Movement] = 'مفقود' لأنه يعطي قيمة فارغة رابط هذا التعليق شارك More sharing options...
ابو ياسين المشولي قام بنشر سبتمبر 4, 2019 مشاركة قام بنشر سبتمبر 4, 2019 جرب هكذا Me.HdihSr = Nz(DSum(" [PriceSB] ", "00KashfTodayRsdCkdm", "[Movement] = 'هدية' or 'تالف' or 'مفقود' and [ItemAAID] = 110 and [OutDate] Between forms!KashfToday_F!Date1 And forms!KashfToday_F!Date2"), "0") 'Private Declare Sub apiZeroMemory Lib "kernel32" _ 2 رابط هذا التعليق شارك More sharing options...
AlwaZeeR قام بنشر سبتمبر 4, 2019 مشاركة قام بنشر سبتمبر 4, 2019 Me.HdihSr = Nz(DSum("[PriceSB]", "00KashfTodayRsdCkdm","(Movement ='هدية' or Movement ='تالف' or Movement ='مفقود')") لم اجرب الكود 2 رابط هذا التعليق شارك More sharing options...
qathi قام بنشر سبتمبر 4, 2019 الكاتب مشاركة قام بنشر سبتمبر 4, 2019 أشكرك أخي @ابو ياسين المشولي على ردك .. بارك الله فيك كما أشكرك أخي @AlwaZeeR على ردك .. بارك الله فيك ضبط الكود معي 2 ساعات مضت, AlwaZeeR said: Me.HdihSr = Nz(DSum("[PriceSB]", "00KashfTodayRsdCkdm","(Movement ='هدية' or Movement ='تالف' or Movement ='مفقود')") فقط كان ينقصة قوس الاغلاق ( بارك الله فيكما رابط هذا التعليق شارك More sharing options...
الردود الموصى بها
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.