티스토리 뷰

Data.DB.TDataSet.BeforePost

Up to Parent: TDataSet

Delphi

property BeforePost: TDataSetNotifyEvent read FBeforePost write FBeforePost;

C++

__property TDataSetNotifyEvent BeforePost = {read=FBeforePost, write=FBeforePost};

Properties

Type

Visibility

Source

Unit

Parent

event

public

Data.DB.pas

Data.DB.hpp

Data.DB

TDataSet

Description

Occurs before an application posts / changes for the active record / to the database or change log.

Write a BeforePost event handler / to take specific action / before an application posts dataset changes. 

BeforePost is triggered / when an application calls the Post method.

Post checks to make sure all required fields are present, then calls BeforePost before posting the record.

An application / might use BeforePost / to perform validity checks on / data changes before committing them.

If it encountered a validity problem, / it could call Abort / to cancel the Post operation (Delphi) / or throw an exception (C++).

BeforePost / is an event handler of type Data.DB.TDataSetNotifyEvent.

 

응용 프로그램이 활성한 레코드의 변경 사항을 데이터베이스 또는 변경 로그에 게시하기 전에 발생합니다.

BeforePost 이벤트 처리기를 작성하여 응용 프로그램이 데이터 세트를 변경을 게시하기 전에 특정 작업을 수행합니다.

BeforePost는 응용 프로그램에서 Post 메서드를 호출하면 트리거됩니다.

모든 필수 필드가 있는지 확인하기 위한 점검을 게시한 다음, 레코드를 게시하기 전에 BeforePost를 호출합니다.

응용 프로그램은 BeforePost를 사용하여 데이터 변경 내용을 커밋하기 전에 유효성 검사를 수행 할 수 있습니다.

유효성 문제가 발생하면, Abort를 호출하여 Post 작업 (Delphi)을 취소하거나 예외 (C ++) throw 할 수 있습니다.

BeforePostData.DB.TDataSetNotifyEvent 형식의 이벤트 처리기입니다.

 

present 미국식 형용사 [|preznt] 명사 [|preznt] 동사 [prɪ|zent] 

1. 현재의, 현 …   2. 있는, 참석한   3. 있는, 존재하는

 

make sure (of something/that…) 

1. 반드시 (…하도록) 하다[(…을) 확실히 하다]   2. (…임을) 확인하다

 

perform 미국식 [pər|fɔ:rm] 

1. (일과제의무 등을) 행하다   2. (관객을 대상으로 연주연기 등을) 해 보이다, 공연[연주/연기]하다

 

check on somebody/something 

(이상이 없는지를) 확인하다[살펴보다]

 

encounter 미국·영국 [ɪn|kaʊntə(r)]

1. (특히 반갑지 않은 일에) 맞닥뜨리다   2. (새롭거나 뜻밖의 대상과) 접하다

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/Data.DB.TDataSet.BeforePost

'프로그래밍 언어 > Delphi' 카테고리의 다른 글

[Reference] ADODB.TADOQuery  (0) 2016.12.31
[Reference] TDataSet.AfterPost  (0) 2016.12.30
[Reference] TDataSet.AfterEdit  (0) 2016.12.27
[Reference] TDataSet.BeforeEdit  (0) 2016.12.26
[Reference] TDataSet.AfterInsert  (0) 2016.12.25
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함