Delphi Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
델파이 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
FreePascal/Lazarus
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
델마당
볼랜드포럼 광고 모집

델파이 Q&A
Delphi Programming Q&A
[3089] [정보] SQL Update 보충 답변..
grcsb [ ] 1281 읽음    1998-06-02 23:27
우선 나중에 질문하실 땐..
비밀이 아니라면..
해당 부분 소스를 올리시면 어떨가요??
질문하시는 분도 답답하시겠지만..
이해하는 사람도 만만치 않거든요^^

요즘 SYSV님 열심히 답해주셔서..
그런데 SYSV님 델피아에도 놀러오세요^^
(왜 이렇게 잡답을..)

여하튼 아래 답변이 있지만..
조금 보충을 해드릴께여..

우선 TQuery의 RequestLive 프퍼티가 True되어야 합니다..
이것의 Default는 False입니다..

그리고 아래와 같은 조건이 만족되어야 합니다..

A query of a Paradox or dBASE table can return a live result
set if it:
  - Involves only a single table.
  - Does not have an ORDER BY clause.
  - Does not use aggregates such as SUM or AVG.
  - Does not use calculated fields in the SELECT list.
  - Uses a WHERE clause that consists only of comparisons of
    column names to scalar constants. The comparison operators
    may be LIKE, >, <, >=, and <=. The clause may contain any
    number of such comparisons linked by AND or OR operators.

A query of a server table using passthrough SQL can return
a live result set if it:
   - Involves a single table.
   - Does not use aggregates such as SUM or AVG.

If the table is on a Sybase server, it must also have a unique index.
However, only the original column values specified by the setting of
the TQuerys UpdateMode must be unique.

* TUpdateSQL 콤포넌트를 구했(?)다니요??
* 초보라구 하셔서 이해가지만..
  항상 핼프를 참고하세여^^
  때로는 그것이 빠를 수도..


+ -

관련 글 리스트
3089 [정보] SQL Update 보충 답변.. grcsb 1281 1998/06/02
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.