Either BOF or EOF is True, or the...



hi every body
when I use ADO update pack1,2 in delphi 5
for correcting error 'Either BOF or EOF is True, or the...'

In my application show incorrect value for record number

I use calculate field in adoqury or adotable for generating secquence number
for LOCAL RECORD NUMBER on oncalcfield event

MyLocalRecNoField := dataset.recno

but First Record and Last Record in DBGRID show -1

please help to correct this

thank you


.