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

رقم المسلسل

Featured Replies

بتاريخ:

انا بعمل فورمة تسجيل وفيها رقم مسلسل وانا عايز رقم المسلسل يكتب اوتوماتك بمعنى لما اسجل فى السطر الاول للفورمز وانتهى منه اعمل enter
ينتقل للسطر الثانى ويكتب رقم المسلسل اوتوماتك دون تكرار......
بمناسبةالفورمز عبارة عن فورمز اجور والبرنامج المستخدم 6i

بتاريخ:

select max(number) into :block.number1 from reg;

بتاريخ:

create triger when-create-record on the block level

:your_item:=:system.trigger_record;



pray for my

بتاريخ:

شوف يا سيدى
هتعمل trigger
pre-insert على مستوى ال record
و تخلى ال item
اللى هتعمل فيه الرقم المسلسل يكون disable
عشان مفيش حد يعمل فيه اى تعديل
و الكود ده اللى هتكتبة مع اختلاف الاسماء عندك

declare
v_num number ;
curcor c1 select max(empno)+1 from emp ;
begin
open c1 ;
fetch c1 into v_num ;
close c1 ;
:empno:=v_num ;
end ;

اهم شى تفتح ال
object navigator
و تخلى ترتيب ال
empno
يكون بعد
ename
الكلام ده على ال
block
و ان شاء الله هتشتغل
بالتوفيق

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

جزاكم الله خير
سوف يتم التجربة

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

first create a sequence object
ex:

create sequence seq_dept_detpno
increment by 1 
start with 100;



In the Oracle Form Builder
1-select the item (in our example deptno in dept table)
2- set the Initial Value Property(:sequence.seq_dept_deptno.nextval)

I try it, en sahla allah it will work

بتاريخ:

you shoud use this
select nvl(max (coloumn_name ),0)+1 into screen_vairiable from table_name

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

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

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

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

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

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.