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

Почему не находит нужную запись?   Найти похожие ветки 

 
Voland777   (2004-05-17 18:56) [0]

В CrystalReport грузится :
PESetQuery(nReport,PCHar("select * from table where key=" + Query.FieldByName("Field").asString));
В отладчике вижу Query.FieldByName("Field").asString =1982
Запись с таким ключем существует. Но в отчете нет ни одной записи
Кто имеет опыт работы в Delphi с CrystalReport большая просьба помочь.


 
Voland777   (2004-05-17 19:01) [1]

PESetQuery(nReport,PCHar("select * from table where key=" + Query.FieldByName("Field").asString)); //не работает
PESetQuery(nReport,PCHar("select * from table where key=" + "1982"));  // работает !!!!!


 
Vlad ©   (2004-05-17 19:09) [2]


> Voland777   (17.05.04 19:01) [1]


S:=Query.FieldByName("Field").asString; //S: string;
PESetQuery(nReport,PCHar("select * from table where key=" +S));


 
Mike Kouzmine ©   (2004-05-18 02:11) [3]

PESetQuery(nReport,PCHar("select * from table where key=" + QuotedStr(Query.FieldByName("Field").asString)));


 
Voland777   (2004-05-18 09:15) [4]

Спасибо



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

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



Память: 0.45 MB
Время: 0.019 c
14-1085117417
MIX
2004-05-21 09:30
2004.06.06
Установка DELPHIX


1-1085074474
K@rt
2004-05-20 21:34
2004.06.06
Information for


1-1085314326
GanibalLector
2004-05-23 16:12
2004.06.06
Битовый образ букв...


11-1074259011
Nert
2004-01-16 16:16
2004.06.06
2 вопроса по ListView


1-1085584624
новичок_из_сыктывкара
2004-05-26 19:17
2004.06.06
Random




   Наверх