우선 나중에 질문하실 땐..
비밀이 아니라면..
해당 부분 소스를 올리시면 어떨가요??
질문하시는 분도 답답하시겠지만..
이해하는 사람도 만만치 않거든요^^
요즘 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 콤포넌트를 구했(?)다니요??
* 초보라구 하셔서 이해가지만..
항상 핼프를 참고하세여^^
때로는 그것이 빠를 수도..
|