Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete records in grid and compute total
Message
 
 
To
17/04/2007 18:04:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947104
Message ID:
01217349
Views:
28
>>Hi Marcia,
>>
>>I seem to have some strange problem with the first record in the grid. It doesn't want to disappear after I deleted it!
>>
>>Any ideas of resolving the problem?
>
>locate rest for not deleted(), maybe?

Ok, I figured this out <g> I looked in the debugger and found, that the record was not deleted. So, finally it dawned on me that this code never selected the main alias.

So, I put
select (thisform.cMainAlias)
locate rest for not deleted()

and it fixed the problem.

Now, I'm wondering, if only selecting main alias would be enough for the original code to work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform