Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete only existing record
Message
From
23/08/1999 15:01:32
 
 
To
23/08/1999 14:53:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00256717
Message ID:
00256724
Views:
22
>Hi
>I am still having a problem with my delete botton in my form.
>If I delete existing record. It's perfect. But if I create new record and try to delete it. It won't disappear from my form. It deleted in the table only.
>
>Any idea, I had "set delete on" at the form properties and I did refresh it.
>
>Thanks everyone.
>Happy Monday!
>Angela:)

Try moving off the deleted record, something like:
THISFORM.LOCKSCREEN = .T.
DELETE
SKIP
IF EOF()
    GO BOTTOM
ENDIF
THISFORM.REFRESH
THISFORM.LOCKSCREEN = .F.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform