Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen does not refresh after delete
Message
From
22/01/1999 22:11:28
 
 
To
22/01/1999 21:58:26
Yin Min Chen
Nec Home Electronics(M) Sdn Bhd
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00178819
Message ID:
00179317
Views:
31
>Hi Erik,
>
>What i mean is, after delete the record and refresh the form, the form fields still showing the deleted record.
>
>TQ.

Humor me here.

Create a new form, and put your Remote view in the dataenvironment. Drag a couple of fields onto the form.

In the init of the form, put

REQUERY('MyView')

Put a button on the form, and in the click method, put the following code:

DELETE IN MyView
SKIP IN MyView
THISFORM.Refresh()

Now, are you telling me that after doing this, your form fields are still showing the deleted record? Are you sure that there are not more than one records in your view that look the same?
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform