بتاريخ: 2 يناير 200917 سنة comment_145989 create a table with fields doc(id varchar2(30), doc blob); create a form with data block on this table. doc field must be ole container on form. create a button on form and write this code on when button pressed. DECLARE ole_item ITEM; INSERTNAME VARCHAR2(300); BEGIN INSERTNAME:=GET_FILE_NAME; ole_item := FIND_ITEM('DOC'); --here DOC is the name of ole container Forms_OLE.Initialize_Container(ole_item, INSERTNAME); END; --commit the form; Now again create a button on form and write this code DECLARE ole_item ITEM; BEGIN ole_item := FIND_ITEM('DOC'); Forms_OLE.Exec_Verb(ole_item,'Edit'); END; now run the form and press execute query button and then press this newly created button . --To show the word file on full screen change the property of ole container " ole in place ativation " "NO" -------------------------------------------لا تنسووووووووووووونا من الدعاء تقديم بلاغ
بتاريخ: 2 يناير 200917 سنة comment_145992 الأخ / PALI.ORACLEمشاركاتك متميزة دائما ... شكرا لك ... جزاك الله خيرا تقديم بلاغ
بتاريخ: 27 يناير 200917 سنة comment_147842 شكرا لك اخى على هذه المعلومات القيمةولكن عند تجربة هذا المشروع يظهر هذا الخطأ عند الضغط على هذا الزرارfrm-41344 وحدة ole غير معرفة ل doc فى السجل الحالىوهذا هو كود الزرار DECLARE ole_item ITEM; BEGIN ole_item := FIND_ITEM('doc'); Forms_OLE.Exec_Verb(ole_item,'Edit'); END; تقديم بلاغ
بتاريخ: 14 يونيو 201015 سنة comment_194607 جزاكم الله خيرا يا ابو حميدلكن مع التطبيق كما قال الاخ طارق خطأ في الكود الاول يفيد بعدم وجود Forms_OLE.Initialize_Containerهل لديكم الباكيج Forms_OLE؟ تقديم بلاغ
بتاريخ: 14 يونيو 201015 سنة comment_194628 جزاك الله خيراً يا باشمهندس أحمددائماً مبدعمنتظرين منك دائماً كل ما هو جديد تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.