بتاريخ: 17 أغسطس 200718 سنة comment_107526 اخواني الاعزاء كيف يمكن لي من جعل المستخدم فقط يستطيع عمل query للشاشات من دون السماح له بعمل تعديل او حذف------كيف لي من حجب بعض التقارير عن المستخدمين بحيث يستطيع كل مستخدم ان يرى التقارير التي تعنيه فقط تقديم بلاغ
بتاريخ: 17 أغسطس 200718 سنة comment_107537 اسمحلى اقتبس رد الموضوع الاخرهلا اخى الجبالىبافتراض سيت اب ده عنصر فى القائمةاعمل جدول به اسم المستخدم والباسورد والصلاحيةوفى القائمة ضعselect للسكيورتى اذا وجد ان هذا المستخدم امامه واحد فى عمود الصلاحية مثلا if then(......عمود الصلاحية لهذا المستخدم=1( set_item_property .........visible ...trueend if;واجعل هذا العنصر فى القائمة اساساinvisibleبذلك ياتى المستخدم للدخول لدخول لا يظهر العنصر بالقائمة الا لو كان الصلاحية له تساوى واحدوزد بجدول الصلاحيات اعمدةinsert_allow,del_allow_,update_allowوهذه المرة ضع select فى كل فورمه من جدول الصلاحياتwhen_new_form_instanceلو هذا المستخدم insert_allow=1 مثلاset_block_property('blockname',insert_allow,property_true)وطبعا البلوك كله مغلق كدفولت من insert del update تقديم بلاغ
بتاريخ: 19 أغسطس 200718 سنة comment_107701 if this is a standard form then look for the form parameters many of these has a form parameter of query_only set it to yes in the form registeration and thus it will be query only version of the form .for the reports you can create a new request group with the set of reports you selected and assign it to the responsibility for which you want to restrict the users access to this set of reports تقديم بلاغ
بتاريخ: 19 أغسطس 200718 سنة كاتب الموضوع comment_107704 thanks for all but whin i put qyery only for the screen all the user becom cant him make any updat for this screen thanks تقديم بلاغ
بتاريخ: 19 أغسطس 200718 سنة comment_107742 Yes that's why you have to register a new form for this on the same fmx with this parameter set as query_only just register a new form with a different name and leave the original form for the authorized users but for the query only ones assign them the new form note that you don't have to realy create a new form just you need to register the new one and base it on the original fmx and change the parameter تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.