Главная страница
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.011 c
4-47902
whc
2002-05-15 17:45
2002.07.15
Соответствие пароля и логина в NT


4-47868
Serd_hhc
2002-05-11 08:56
2002.07.15
Закрытие окна.


7-47845
dimmu2
2002-04-16 12:13
2002.07.15
Работа со сканером


1-47302
Adm. Beckett
2002-06-30 14:27
2002.07.15
выделение строк цветом в StringGrid


1-47405
BKV
2002-07-02 18:44
2002.07.15
Как включить scrollbar