Вниз
Скачать: 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 вся ветка

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



Память: 0.45 MB
Время: 0.011 c
7-47852
Lizard
2002-04-25 21:46
2002.07.15
Как добавить строку в конец текстового файла ?


1-47289
Бадян
2002-06-29 22:55
2002.07.15
Трабл с TImage


3-47081
федя
2002-06-21 04:34
2002.07.15
Простой вопрос


7-47854
MJH
2002-04-09 11:47
2002.07.15
Видеопамять


1-47416
Gayrus
2002-07-02 03:36
2002.07.15
bpl файлы




   Наверх