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

عمل تكرار للupdate

Featured Replies

بتاريخ:

سلام يااصدقاء

قي الصوره المرفقه اريد ان اختار اكثر من سجل وبالنقر على (Post) يعمل update للسجلات المحدده

 

المشكله انه مايعمل update الا لاول سجل فقط 

وهذا هو الكود الي تحت الزرPost;

 
 
DECLARE
X NUMBER;
cursor c1 is select * from F_CONT_TRAN where (CONT_STATUS=:LIST1 AND LINE=:LINE_CODE)or (CONT_STATUS=:LIST3 AND LINE=:LINE_CODE);
c F_CONT_TRAN%rowtype; 


BEGIN


open c1;
   loop 
   fetch c1 into c;
  
if :post=1 then


  :CONT_STATUS:='RESHIPPED EMPTY';
 :V_NAME_EXP:=:VESSEL_NAME1;
 :TRIP_NO_EXP:=:VOYNO;
 :BERTH_DATE_EXP:=:BD;
 :RSE_DATE:=:BD;


/*UPDATE F_CONT_TRAN 
 SET CONT_STATUS='RESHIPPED EMPTY',V_NAME_EXP=:VESSEL_NAME1,TRIP_NO_EXP=:VOYNO,BERTH_DATE_EXP=:BD,RSE_DATE=:BD 
 WHERE CODE=:VIEWF_CONT_TRAN1.code and :VIEWF_CONT_TRAN1.post=1; */ 


end if;
exit when c1%notfound;
end loop;
   close c1;
           


-
COMMIT;
end if;


end if;


END;
 
 
 

post-137381-0-64692800-1472555009_thumb.png

تم تعديل بواسطة Ahmad.Hasan

بتاريخ:

go_block('yourblock') ;
first_record ;
loop
post ;
exit when :system.last_record = 'TRUE' ;
next_record ;
end loop ;

تم تعديل بواسطة Ahmad.Hasan

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

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

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

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

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

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.