Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Di 28.06.05 09:46 
Muß ich sicherheitshalber First setzen nach dem Öffnen eines DataSets oder ist immer First nach dem Öffnen?
direction4delphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 84

WIN 95, WIN 98, WIN ME, WIN NT, WIN 2000, WIN XP, VISTA
D2 Prof, D4 Prof,D2005 Prof, Delphi4Php
BeitragVerfasst: Di 28.06.05 09:49 
Prinzipiell steht der Datenzeiger immer auf dem ersten Datensatz (ein first kann aber nicht schaden)
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Di 28.06.05 14:54 
user profile icondirection4delphi hat folgendes geschrieben:
Prinzipiell steht der Datenzeiger immer auf dem ersten Datensatz (ein first kann aber nicht schaden)


Vielen Dank für den Rat!
nelle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Di 28.06.05 16:20 
user profile icondirection4delphi hat folgendes geschrieben:
(ein first kann aber nicht schaden)

Nach meinen Erfahrungen gilt dies nicht immer uneingeschränkt. Ich habe Probleme bei einer TADOQuery Version bekommen. Nach dem "First" stand der Datensatzzeiger auf dem 2ten DS. :!:

Nelle
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Di 28.06.05 17:49 
Ich mache i.d.R. auch ein First, da es sonst nicht immer sichergestellt ist, dass man bei einer Prüfung auf "BOF" nicht immer das korrekte Ergebnis bekommt.