ADO မှတ်တမ်း အရာဝတ္ထု
မှတ်တမ်းအရာဝတ္ထု (ADO ဗားရှင်း 2.5)
ADO Record object ကို Recordset တစ်ခု၊ directory တစ်ခု သို့မဟုတ် file system မှ ဖိုင်တစ်ခုတွင် အတန်းတစ်ခုကို ထိန်းထားရန် အသုံးပြုပါသည်။
2.5 မတိုင်မီဗားရှင်းများတွင် ADO မှ တည်ဆောက်ထားသော ဒေတာဘေ့စ်များကိုသာ ဝင်ရောက်ကြည့်ရှုနိုင်မည်ဖြစ်သည်။ ဖွဲ့စည်းတည်ဆောက်ထားသည့် ဒေတာဘေ့စ်တစ်ခုတွင်၊ ဇယားတစ်ခုစီတွင် အတန်းတစ်ခုစီရှိ ကော်လံအရေအတွက်အတိအကျရှိပြီး ကော်လံတစ်ခုစီသည် တူညီသောဒေတာအမျိုးအစားဖြင့် ဖွဲ့စည်းထားသည်။
မှတ်တမ်းအရာဝတ္ထုသည် ကော်လံအရေအတွက်နှင့်/သို့မဟုတ် ဒေတာအမျိုးအစားသည် အတန်းတစ်ခုနှင့်တစ်ခု အတန်းကွဲပြားနိုင်သည့် ဒေတာအစုံများကို ဝင်ရောက်ကြည့်ရှုခွင့်ပေးသည်။
အထားအသို
objectname.property
objectname.method
သတ္တိ
Property | Description |
---|---|
ActiveConnection | Sets or returns which Connection object a Record object belongs to |
Mode | Sets or returns the permission for modifying data in a Record object |
ParentURL | Returns the absolute URL of the parent Record |
RecordType | Returns the type of a Record object |
Source | Sets or returns the src parameter of the Open method of a Record object |
State | Returns the status of a Record object |
နည်းလမ်းများ
Method | Description |
---|---|
Cancel | Cancels an execution of a CopyRecord, DeleteRecord, MoveRecord, or Open call |
Close | Closes a Record object |
CopyRecord | Copies a file or directory to another location |
DeleteRecord | Deletes a file or directory |
GetChildren | Returns a Recordset object where each row represents the files in the directory |
MoveRecord | Moves a file or a directory to another location |
Open | Opens an existing Record object or creates a new file or directory |
စုစည်းမှုများ
Collection | Description |
---|---|
Properties | A collection of provider-specific properties |
Fields | Contains all the Field objects in the Record object |
Fields Collection ၏ ဂုဏ်သတ္တိများ
Property | Description |
---|---|
Count | Returns the number of items in the fields collection.
Starts at zero.
Example: countfields=rec.Fields.Count |
Item(named_item/number) | Returns a specified item in the fields collection.
Example: itemfields=rec.Fields.Item(1) |