Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Базы";
Текущий архив: 2003.06.26;
Скачать: [xml.tar.bz2];

Вниз

не редактирует DBEdit   Найти похожие ветки 

 
Инна   (2003-06-03 11:20) [0]

по хп из ADODataSet достаю данные
CREATE PROCEDURE planperweeks;1
@group int, @potok int
AS
SET NOCOUNT ON
select distinct rasdispotok.code_of_dis, coalesce(disc0.name,"-") as Name_of_dis,
coalesce(disc0.full_name,"-") as FullName_of_dis,
coalesce(disc0.code_of_kaf,"-") as kaf_of_dis,

coalesce(lec.ID,"-") as LID,
coalesce(lec.subs,"-") as subs,
coalesce(lec.unions,"-") as unions,
coalesce(lec.hours,"-") as l_h,
coalesce(lec.code_of_prepod,"-") as code_of_lector,
coalesce(p1.name,"-") as Lector,


coalesce(sems.ID,"-") as SID,
coalesce(sems.subs,"-") as subs,
coalesce(sems.unions,"-") as unions,
coalesce(sems.hours,"-") as s_h,
coalesce(sems.code_of_prepod,"-") as code_of_seminarist,
coalesce(p2.name,"-") as Seminarist,

coalesce(labs.ID,"-") as LAID,
coalesce(labs.subs,"-") as subs,
coalesce(labs.unions,"-") as unions,
coalesce(labs.hours,"-") as la_h,
coalesce(labs.code_of_prepod,"-") as code_of_labprepod,
coalesce(p3.name,"-") as LabPrepod

from rasdispotok
left outer join lec on (lec.code_of_dis=rasdispotok.code_of_dis
and lec.code_of_group=@group)
left outer join sems on (sems.code_of_dis=rasdispotok.code_of_dis
and sems.code_of_group=@group)
left outer join labs on (labs.code_of_dis=rasdispotok.code_of_dis
and labs.code_of_group=@group)
left outer join prepodavatel p1 on (p1.ID = lec.code_of_prepod)
left outer join prepodavatel p2 on (p2.ID = sems.code_of_prepod)
left outer join prepodavatel p3 on (p3.ID = labs.code_of_prepod)
left outer join disc0 on (disc0.ID=rasdispotok.code_of_dis)
where rasdispotok.code_of_potok = @potok order by rasdispotok.code_of_dis
GO

вывожу на форму инфу и раскидываю ее по DBEditam - почему не дает исправлять???? во всех Эдитах = ReadOnly - false. неужели придеься дублировать обычными эдитами? :(((


 
stone   (2003-06-03 12:05) [1]


> не редактирует DBEdit


Потому что возвращаемый рекордсет не редактируемый


 
Инна   (2003-06-03 12:32) [2]

т.е. можно обойти только через обычные Эдиты???



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

Форум: "Базы";
Текущий архив: 2003.06.26;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.44 MB
Время: 0.037 c
14-84697
Style
2003-06-05 10:50
2003.06.26
Тут мне друг пару стишков прислал


14-84582
[NIKEL]
2003-06-08 20:59
2003.06.26
Кто как организует хранит свои массивы документации, статей +


14-84614
Vovchik_A
2003-06-04 11:10
2003.06.26
Спам !


3-84000
adoman
2003-05-30 14:03
2003.06.26
Syntax error in FROM clause...


1-84078
Volly
2003-06-10 11:24
2003.06.26
Memo > 64kb





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский