الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Inserting Word File Into Blob Field Through Form

Featured Replies

بتاريخ:

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"



-------------------------------------------
لا تنسووووووووووووونا من الدعاء

  • بعد 4 أسابيع...
بتاريخ:

شكرا لك اخى على هذه المعلومات القيمة
ولكن عند تجربة هذا المشروع يظهر هذا الخطأ عند الضغط على هذا الزرار
frm-41344 وحدة ole غير معرفة ل doc فى السجل الحالى

وهذا هو كود الزرار

DECLARE
     ole_item ITEM;
BEGIN ole_item := FIND_ITEM('doc');
     Forms_OLE.Exec_Verb(ole_item,'Edit');
  END;

  • بعد 2 أسابيع...
بتاريخ:

جزاك الله كل خير

  • بعد 1 سنة...
بتاريخ:

جزاكم الله خيرا يا ابو حميد

لكن مع التطبيق كما قال الاخ طارق خطأ في الكود الاول يفيد بعدم وجود Forms_OLE.Initialize_Container

هل لديكم الباكيج Forms_OLE؟

بتاريخ:

جزاك الله خيراً يا باشمهندس أحمد
دائماً مبدع
منتظرين منك دائماً كل ما هو جديد

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.