Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resort after delete at mygrid
Message
From
30/09/2004 09:21:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
30/09/2004 05:31:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947441
Message ID:
00947494
Views:
18
>hi all,
>i need some help for...
>if i delete 1 records or more ,how i can resort number of records at mygrid.
>
>my code under to count when i insert the items
>
>at this form.text7.value
>... operatins
>COUNT TO S
>s=s+1..........records counter
>
>thanks
>m.qasem

It should be enough to put

thisform.text7.value=s

though that may not be the cleanest way to do it... you may just create a form property, say thisform.recc, and then have that propery be the controlsource of text7. Then

thisform.recc=s
thisform.refresh()

This way the code where you count the records doesn't need to know about text7. Now your code won't break if you rename, remove, move text7 into a container, onto a page of a pageframe etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform