>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.