الانتقال إلى المحتوى
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.

ارجو مساعدتي هل هذا Cursor صحيح ولا لانه فيه مشكله

Featured Replies

بتاريخ:

ارجو مساعدتي في هذا الموضوع على حسب المرفق الموجود

post-121019-0-05372400-1338015707_thumb.gif

post-121019-0-18587800-1338015737_thumb.gif

بتاريخ:
  • كاتب الموضوع

في الشاشة الاولي الصوره الموضحة عددة record ادا بينهما ازرا لكي تظهر لي ليسته

بتاريخ:

اخى الكريم من الواضح انك تريد ان تعمل cursor ويعطى الناتج على form فانت ليس بحاجة لتعريف متغيرات كما انه عموما لا يمكن تعريف متغير ويحمل نفس اسم item على الform والصورة توضح المطلوب

post-106015-0-55823000-1338023052_thumb.jpg

بتاريخ:

ارجو مساعدتي في هذا الموضوع على حسب المرفق الموجود


أخي الكريم استخدم هذه الطريقه هي اسهل لك
declare
cursor get_data is
select empno,ename from scott.emp
begin
go_block('block2');
go_record(1);-- first_record;
for i in get_data
loop
:block2.t1:=i.empno;
:block2.t2:=i.ename;

end loop;
end;

بتاريخ:
  • كاتب الموضوع

ما معنى هذا الخطاء

subprogram or cursor 'dev_cursor' reference is out of scope

بتاريخ:

ما معنى هذا الخطاء

subprogram or cursor 'dev_cursor' reference is out of scope


أختي الكريمه هذا يعني ان الحقل المراد الوصول اليه من خلال الreference للكريس ليس صحيح مثل
cursor c1 is select col_name from temp1;

cursor c2 is select col_name from temp2;

begin

for i in c1 loop

  for j in c2 loop

   if c1.col_namec2.col_name  then

	  insert into temp1 values(c1.col_id,c1.col_name);

	  commit;

   end if;

  end loop;

end loop;

end;  



لاحظ في المثال
c1.col_namec2.col_name
انا اوز اوصل لا col_nameمن خلال الرفرنس c1 وهذا خطأ

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

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

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

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

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

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.