الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

سؤال في جملة openبالADO

مغلق
بدأه رزان في 20 مايو 2004 · 2 رد · 463 مشاهدة · في لغة Ms Visual Basic 6 وما قبلها من إصدارات
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

أرجوا إفادتي بشرح مايلي

هلأ عندنا في ربط القاعدة البيانات بالفيجوال بيسك بطريقة ADo By Code

هناك جملة هكذا

RS.open "Employees", db,adlockstatic,adlockOptimistic

أنا أعرف إنه

adLockReadOnly -----> للقراءة فقط من قاعدة البيانات وتمنع التعديل والحذف وغيره

adLockPessimistic ------> تعمل على التمكين من القراءة والكتابة والتعديل والحذف وغيره

طيب سؤالي هلأ : ممكن أحد يشرحلي الباقيات

أقصد المجموعة الأولى وهي:

adOpenStatic

adOpenDynamic

adOpenForwardOnly

adOpenKeyset

وأيضا المجموعة الثانية وهي :

adLockBatchOptimistic

adLockOptimistic

adLockPessimistic

adLockReadOnly

وأكون شاكره له

محتاجه لشرح بأقصى سرعة

أرجوا مساعدتي

أختكم

#2

adOpenForwardOnly

Provides a static copy of the records (you can't see additions, changes or deletions by other users). You can only move forward through the recordset. Forward-only is the ADO default cursor type.

adOpenStatic

Provides a static copy of the records (you can't see additions, changes or deletions by other users), but all types of movement are enabled.

adOpenDynamic

Dynamic requires more overhead, because updates are immediate and all types of movement are enabled. The dynamic cursor isn't currently supported by the Microsoft Jet OLE DB Provider, and therefore defaults to a keyset cursor when adOpenDynamic is applied to a Jet database.

adOpenDynamic

Similar to the dynaset recordset type and dynamic cursor, but the resulting recordset is based on a single table. Since the dynamic cursor type isn't currently supported by the Microsoft Jet OLE DB Provider, Jet defaults to a static cursor when you apply the adCmdTableDirect option.

adOpenKeyset

Existing records at time of creation are updateable. You can't see additions or deletions. All types of movement are enabled.

#3

أشكرك أخي الفاضل

وتمنياتي لك بالتوفيق

هذا الموضوع مغلق.

مواضيع مشابهة