Вниз
Скачать: CL | DM;

TQuery.Post   Найти похожие ветки 

 
Leviathan ©   (2003-04-08 22:30) [0]

При вызове TQuery.Post получаю сообщение "the table is read-only". А как можно разблокировать таблицу?


 
Johnmen ©   (2003-04-08 22:58) [1]

Блокировки непричем. Да и есть ли они для данного типа БД ?
см. RequestLive и читай хелп про обновляемые НД...


 
Карелин Артем ©   (2003-04-09 08:25) [2]

Запрос видимо возвращает не все поля.
Если уж очень хочется, то смотри инфу по компоненту UpdateSQL.
Specifies the update object component used to update a read-only result set when cached updates are enabled.

property UpdateObject: TDataSetUpdateObject;

Description

Use UpdateObject to specify the TUpdateObject component to use in an application that must be able to update a read-only result set returned by the Borland Database Engine (BDE).

The BDE always attempts to provide an updateable, or “live” query result unless an application specifically requests a read-only view of data. In some cases, such as a query made against multiple tables, a live result set cannot be returned. In these cases, UpdateObject can be used to specify a TUpdateSQL component that performs updates as a separate transaction that is transparent to the application.


 
Matviiv   (2003-04-09 09:29) [3]

Посмотри на свойства файла базы. Может у него атрибут только для чтения.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.021 c
1-91303
bpv
2003-04-17 15:03
2003.04.28
Создание класса


3-91181
АндрейБ
2003-04-09 14:06
2003.04.28
Номер записи в TTable


3-91233
Wedos
2003-04-11 08:47
2003.04.28
Сортировка строк по полю


4-91587
TankMan
2003-01-22 10:07
2003.04.28
Хук на Api


14-91500
Lexer
2003-04-09 11:41
2003.04.28
Помогите найти компонент




   Наверх