질문하신 내용은 이상하여 확인해 보니..
Where 문을 넣어도 전혀 문제가 없는 것 같습니다..
문제는 다른 곳에 있는 듯한데..
혹시 RequsetLive가 제한되어있는..
SQL문을 사용하시지는 않았는지요??
만약 아래의 경우라면 수정은 불가능합니다..
다른 방도를 구하셔야 하고요..
그리고 Query 콤포넌트가 현재 수정 가능인 지는..
CanModify라는 프로퍼티를 참고하시면 알 수 있습니다..
만약 해당 사항이 없는 경우에는 소스를 올려보심이..
어떨지요??
* 수정이 불가능 한 경우 입니다.
To receive a live result set using TQuery you must:
Set RequestLive for the TQuery to True.
Use Local SQL syntax.
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.d
- 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.
|