FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 Statement.Refresh
ホーム • Customization Tools • FCAS • Language Reference • Statement.Refresh
 
Purpose
Refreshes the values in the current rowset buffers.
If changes have occurred to the current row in the underlying database, calling the Refresh method will update the local cursor and propagate any relevant changes to bound controls.
If you have modified the current values in the rowset buffers, calling Refresh will get a new copy of the original row from the database and overwrite any changes.
Syntax
DBStatement.Refresh
Compliance:
Level 2
Example
Sub Click()
        MsgBox("Update the current record?",FCYesNo, "Update")
        If MsgBoxResponse = FCYes Then
                MyStmt.Update   'Update the current record
        Else
                MyStmt.Refresh  'Discard changes and return original values
        End If
End Sub

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<