Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views and deleted records
Message
From
31/07/2003 12:59:43
 
 
To
30/07/2003 16:42:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00815047
Message ID:
00815480
Views:
8
>>>>What is the status of SET DELETED in both cases? (Maybe do a Wait Window Set("Deleted") to find out). Remember that it is scoped to the data session.
>>>
>>>Set Deleted is ON
>>
>>Is ON for both cases, command window and form with grid

>
>Are you sure? Did you add the Wait Window (or used the debugger) just before you requery() the view to make sure? Does the View contain "For Not Deleted()"? (this also may or may not be an issue on optimization, depending on various factors).

I found out what was happening. I have a form class where in load method I issue set deleted on.

The form where the view is placed is based on this form class. In the environment of the form I defined the view with noDataOnload = .F.

So, in this case the view does not respect the command Set Deleted On present on load method of the form.

What I did?

I set nodataonload = .T. in the environment of the form and
=requery('myview') in the init method.
Antonio Carlos Kleinübing
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform