وعليكم السلام ورحمة الله وبركاته
استبدل كود التحديث بهذا الكود وأعلمنا بالنتيجة
Me.proprice = Nz(DLookup("[weekpricef]![price]", "[weekpricef]", "[Forms]![salebill].[billfooter subform]![productname] = [weekpricef]![productname]and forms![salebill]![billdate] between [weekpricef]![from]and [weekpricef]![to]"), DLookup("[weekpricef]![price]", "[weekpricef]", "[Forms]![salebill].[billfooter subform]![productname] = [weekpricef]![productname]"))