ADO တောင်းဆိုမှု နည်းလမ်း
❮ ပြီးပြည့်စုံသော Recordset Object ရည်ညွှန်းချက်
တောင်းဆိုမှုနည်းလမ်းသည် မူရင်း Recordset ကိုပြုလုပ်ထားသည့် query ကို ပြန်လည်လုပ်ဆောင်ခြင်းဖြင့် Recordset တစ်ခုအတွင်းရှိ data ကို update လုပ်သည်။
အကြံပြုချက်- Recordset တစ်ခု၏ အကြောင်းအရာတစ်ခုလုံးကို ပြန်လည်စတင်ရန် ဤနည်းလမ်းကို အသုံးပြုပါ။
မှတ်ချက်- ဤနည်းလမ်းဖြင့် သင်သည် Close and Open နည်းလမ်းများကို တစ်ခုတည်းဖြင့် ခေါ်သည်။
အထားအသို
objRecordset.Requery options
Parameter | Description |
---|---|
options | Optional. Specifies how to execute this command. Can be an ExecuteOptionEnum value |
ExecuteOptionEnum တန်ဖိုးများ
Constant | Value | Description |
---|---|---|
adOptionUnspecified | -1 | Unspecified command |
adAsyncExecute | 16 | The command should execute asynchronously. Cannot be combined with the CommandTypeEnum value adCmdTableDirect |
adAsyncFetch | 32 | The remaining rows after the initial quantity specified in the CacheSize property should be retrieved asynchronously |
adAsyncFetchNonBlocking | 64 | The main thread never blocks while retrieving. If the requested row has not been retrieved, the current row automatically moves to the end of the file. If you open a Recordset from a Stream containing a persistently stored Recordset, adAsyncFetchNonBlocking will not have an effect; the operation will be synchronous and blocking. adAsynchFetchNonBlocking has no effect when the adCmdTableDirect option is used to open the Recordset |
adExecuteRecord | 512 | The CommandText is a command or stored procedure that returns a single row which should be returned as a Record object |
❮ ပြီးပြည့်စုံသော Recordset Object ရည်ညွှန်းချက်