Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where Deleted()
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00733417
Message ID:
00734136
Views:
44
Una cosa al margen, si por alguna razón tienes que recorrer tu cursor entero, te recomendaría utilizar SCAN ... ENDSCAN
SELECT cursor
SCAN
   IF DELETED() 
      ...
      ...
   ENDIF
ENDSCAN
>Cuando debo hacer eso, generalmente escribo codigo para determinar los registros borrados y dar la opcion de una recuperacion.
Select cursor
go top
do while not eof()
  if deleted()
      ......
      ......
      ......
  endif
  sele cursor
  skip
enddo
tambien funciona con el Select * from .....

>Himalr y alez tienen razon, es mucho mas flexible hacerlo desde un grid o listbox, asi el usuario puede determinar que registros pueden ser recuperados, el messagebox() no tiene esa posibilidad.
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform