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

Операции с сводными запросами (Firebirb)   Найти похожие ветки 

← →
dest81   (2009-02-22 11:48) [0]

Припустим есть две таблицы
 Первая:  table_name
     id_1:integer;
     id_n:integer;
     name:string;
 Вторая: table_city
     id_2:integer;
     id_n:integer;
     city:string;
С помощью такого запроса в компоненте ibdataset:
select t1.id_2,t2.name,t1.city from table_city t1, table_name t2
  where t1.id_n=t2.id_n
Можно ли как-то сделать автоматическое редактирование в гриде такого запроса (конкретно интересует поле city)


← →
dest81   (2009-02-22 11:49) [1]

Извините за сумбурное обяснение!!!


← →
Юрий Зотов ©   (2009-02-22 12:24) [2]

Из справки:

All multi-table queries return read-only result sets. Other conditions may cause a query to return a read-only result set. For local tables (such as dBASE and Paradox), see the local SQL help file for rules governing live result sets (updatable queries). For other table types (such as InterBase, Oracle, and Sybase), consult the documentation for the specific database system.

Applications can update data returned in a read-only result set if they are using cached updates.



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

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



Память: 0.45 MB
Время: 0.008 c
2-1235591160
жора
2009-02-25 22:46
2009.04.12
Баг при выходе из функции


15-1234338924
Дмитрий С
2009-02-11 10:55
2009.04.12
Изменение прав доступа NTFS через какой либо COM obj.


10-1154350700
MisterR
2006-07-31 16:58
2009.04.12
Сменить имя листа в Excel


2-1235292518
dest81
2009-02-22 11:48
2009.04.12
Операции с сводными запросами (Firebirb)


2-1235628148
CodeMaster
2009-02-26 09:02
2009.04.12
TListBox and DrawItem




   Наверх