Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.07.15;
Скачать: CL | DM;

Вниз

SQL Server 2000 и tADOQuery   Найти похожие ветки 

 
Alex Y ©   (2002-06-19 13:04) [0]

Такой вопрос.
Есть таблица в SQL Server 2000.
Пишу:

with tADOQuery.Create(nil) do
begin
Connection := Connect;
SQL.Add("Select Layer From Tbl");
Open; First;
while not Eof do
begin
S := FieldByName("Fld").AsString;
Next;
end;
Close;
end;

Цикл проходит, а на Close выдает ошибку:

Either BOF or EOF if True, or the current record has been deleted. Requested operation requires a current record.

Как лечить?


 
Приятель   (2002-06-19 13:17) [1]

http://delphi.mtu-net.ru/library/index.htm#link12


 
Skrip ©   (2002-06-19 13:21) [2]

http://info.borland.com/devsupport/delphi/mdac26.html



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

Текущий архив: 2002.07.15;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.02 c
6-47666
Maratus
2002-04-30 21:13
2002.07.15
Узнать имя хоста по IP


3-47097
id_privin
2002-06-20 19:55
2002.07.15
Загрузка данных в Oracle


8-47609
Саня
2002-02-28 14:00
2002.07.15
Как вырезать кадр из AVI


1-47482
ricks
2002-07-03 12:58
2002.07.15
Диалоги из ресурсов


14-47719
Yuri Btr
2002-06-11 14:28
2002.07.15
Проблема WinXP и дисков