الانتقال إلى المحتوى

Form Update Not Working


Hani Gamal

Recommended Posts

 

Dears

 

I created custom form master and detail , the detail block is based on view , and to handle the insert and update DML i created custom procedure to produce insert or update DML based on the line existance in the database , and i added this procedure in the on-insert and on-update triggers and NULL: value in the on-lock triggeer , The problem is only insert is working fine but when updating existing record no action produced.

 

any Help?,

 

رابط هذا التعليق
شارك

The problem is solved :

 

i this case if you have a view based form we need to handle on-insert, on-update , on-lock trigger on block level, one of the ways is to create database procedure to handle the insert and update DML and pass its parameter from the form.

 

Dears

 

I created custom form master and detail , the detail block is based on view , and to handle the insert and update DML i created custom procedure to produce insert or update DML based on the line existance in the database , and i added this procedure in the on-insert and on-update triggers and NULL: value in the on-lock triggeer , The problem is only insert is working fine but when updating existing record no action produced.

 

any Help?,

 

 

رابط هذا التعليق
شارك

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

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

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

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

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