ADO EndOfRecordset ပွဲ
❮ ပြီးပြည့်စုံသော Recordset Object ရည်ညွှန်းချက်
ဖြစ်ရပ်တစ်ခုသည် တိကျသောလုပ်ဆောင်မှုတစ်ခုဖြစ်ပွားပြီးနောက် အလိုအလျောက်ခေါ်ဆိုနိုင်သည့် ပုံမှန်အစီအစဉ်တစ်ခုဖြစ်သည်။
Recordset တစ်ခုရှိ နောက်ဆုံးစံချိန်ပြီးနောက် စံချိန်တစ်ခုသို့ ရွှေ့ရန် သင်ကြိုးစားသောအခါ EndOfRecordset ဖြစ်ရပ်ကို အစပျိုးသည်။ မှတ်တမ်းအမှတ်အသားသည် Recordset ၏အဆုံးတွင်ရှိပြီး MoveNext နည်းလမ်းကို ခေါ်ပါက ဤဖြစ်ရပ် ဖြစ်ပွားနိုင်သည်။
အကြံပြုချက်- ဒေတာဘေ့စ်တစ်ခုမှ နောက်ထပ်မှတ်တမ်းများကို ပြန်လည်ရယူရန်နှင့် မှတ်တမ်းအစုံ၏အဆုံးတွင် ၎င်းတို့ကို ထပ်ဖြည့်ရန် ဤဖြစ်ရပ်ကို သင်အသုံးပြုနိုင်ပြီး MoveNext ခေါ်ဆိုမှုကို ထပ်လုပ်နိုင်သည်။
မှတ်ချက်- ဤနည်းလမ်းမပြန်မီ၊ နောက်ဆက်တွဲသတိပေးချက်များကိုတားဆီးရန် အခြေအနေသတ်မှတ်ချက်ဘောင်ကို adStatusUnwantedEvent သို့သတ်မှတ်ပါ။
အထားအသို
EndOfRecordset(moredata,status,objrs)
Parameter | Description |
---|---|
moredata | A boolean value that if true it allows to append more data to the end of the Recordset |
status | An EventStatusEnum value that indicates the status of the execution of the event |
objrs | The name of the Recordset Object that triggered this event |
EventStatusEnum တန်ဖိုးများ
Constant | Value | Description |
---|---|---|
adStatusOK | 1 | The operation that caused the event was successful |
adStatusErrorsOccurred | 2 | The operation that caused the event failed |
adStatusCantDeny | 3 | The operation that caused the event cannot be cancelled |
adStatusCancel | 4 | The operation that caused the event is cancelled |
adStatusUnwantedEvent | 5 | Prevents subsequent notifications before the event method has finished executing |
❮ ပြီးပြည့်စုံသော Recordset Object ရည်ညွှန်းချက်