Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete records in grid and compute total
Message
From
18/04/2007 09:18:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947104
Message ID:
01217258
Views:
30
>>I seem to have some strange problem with the first record in the grid. It doesn't want to disappear after I deleted it!
>>
>>Are you using the code that appeared below your message? Is the first record in the grid the only record in the grid? Are you moving the record pointer after you delete the record?
>
>Similar code in my form's Delete method. The code is actually written by my colleague who's framework I adapted. Movements out of the record do not seem to solve the problem. I have lots of records in the grid, but only the first doesn't want to disappear.
>
>If I move to another record manually, the record disappears when I try to go back.

I have this code in my form class. Think the origins go back to the Tasmanian Traders example
delete && + check triggers ...
skip
if( eof() )
	go bottom
endif
=m.thisform.Refresh()
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform