In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

DBNAVIGATOR PROBLEM

Xailer English public forum
FRANK[1]
Mensajes: 63
Registrado: Jue May 20, 2010 11:25 am

DBNAVIGATOR PROBLEM

Mensaje por FRANK[1] »

Hi to all
when I press the key [-] [delete] on the bar [dbnavigator] the current
[record] comes
immediately DELETED while I want to make appear a message box of
confirmation "DELETE? YES/ NO"
METHOD DBNavigator1ClickDelete( oSender ) CLASS Terzisti
::oMessageBox2:cTitle := "Elimina rec. n."+TRIM(STR(::oDBFDataSet1:RECNO()))
::oMessageBox2:BEEP()
::oMessageBox2:RUN()
IF ::oMessageBox2:nResult = 2
GO rec
DBrLOCK()
DBRECALL()
DBrunLOCK()
ENDIF
RETURN Nil
don't work!! the [record] stays [deleted]
WHY??
METHOD Button3Click( oSender ) CLASS Terzisti
GO rec
DBrLOCK()
DBRECALL()
DBrunLOCK()
RETURN Nil
work!! the record comes recalled
Tanks for help
Frank
Responder