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

I Need To Know What Is The Problem

Featured Replies

بتاريخ:

I'm using oracle 10g


when I run this code the call from is not working I do not know whey can you help me please
DECLARE 
x Number;	
Y BOOLEAN;
u_name LOGIN.User_Name%type; 
P_word LOGIN.Passwords%type;
u_type LOGIN.User_Type%type;
begin		

if :TEXT_ITEM17 is NULL OR :TEXT_ITEM18 IS NULL OR :TEXT_ITEM19 IS NULL THEN

	X:= SHOW_ALERT('ALERT23');


else
SELECT User_Name, Passwords,User_Type into u_name, P_word,u_type FROM Login
where User_Name=:TEXT_ITEM17 and Passwords= :TEXT_ITEM18 and User_Type= :TEXT_ITEM19 ;

Y:= SQL%found;

if y then
	x :=show_alert('alert24');
if (y) and (:TEXT_ITEM19='Administrator') then
	call_form('C:\AB\forms\admin.fmx');

	
 else 
 call_form('C:\AB\forms\User.fmx');
 end if;	
end if;
end if;

exception
	when no_data_found then
			x :=show_alert('alert25');
END;

بتاريخ:

ايه رسالة الخطا

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

Their is no error !!
when I run the form every thing is executed except the call form
maybe it's system problem

بتاريخ:

تأكد من جملة الشرط,,
if y then

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

Thank you sooooooooooo much asd202 and


المبرمج الصاعد
for helping me

The problem is that I have to run each form which is in the call form before run this code

this the correct code

DECLARE
x Number;
Y BOOLEAN;
u_name LOGIN.User_Name%type;
P_word LOGIN.Passwords%type;
u_type LOGIN.User_Type%type;
begin

if :TEXT_ITEM17 is NULL OR :TEXT_ITEM18 IS NULL OR :TEXT_ITEM19 IS NULL THEN

X:= SHOW_ALERT('ALERT23');


else
SELECT User_Name, Passwords,User_Type into u_name, P_word,u_type FROM Login
where User_Name=:TEXT_ITEM17 and Passwords= :TEXT_ITEM18 and User_Type= :TEXT_ITEM19 ;

Y:= SQL%found;

if y then
x :=show_alert('alert24');
if :TEXT_ITEM19='Administrator' then
call_form('C:\AB\forms\admin.fmx');


else
call_form('C:\AB\forms\User.fmx');
end if;
end if;
end if;

exception
when no_data_found then
x :=show_alert('alert25');
END;

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

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

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

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

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

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.