Главная страница
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
1-47474
ricks
2002-07-03 17:43
2002.07.15
Изображение Parent а


1-47387
greenrul
2002-07-02 14:09
2002.07.15
Нажимаемый но невидимый


1-47290
INCOGNITO
2002-06-29 01:00
2002.07.15
Простой вопрос...


1-47484
klochkov
2002-07-03 16:49
2002.07.15
Строчки


4-47894
IGORka
2002-05-15 14:00
2002.07.15
Как програмно узнань имя юзера в Win NT