>Hello:
>
>Can anyone tell me how to create a VCR control that scrolls and counts the number of records in a form?
>
>Currenly, I have a buttonset control on each one of my tables. This works OK, but I have to click the NEXT button each time to move to the next record. I can't simply hold the button down and scroll. If the form has 1,200 records, I am in trouble!!
>
>In the component gallery, I dragged a VCR control to the form canvas, but I couldn't scroll with it. I could just click each time to proceed to the next record. And, it didn't give me a count of total records in the form.
>
>Any direction to solve this dillema would be greatly appreciated.
>
>TIA
>
>Jason
Try adding a button to the control to the sample you are working with and have a label something like "Bottom".
Then, you can do one of the following
count rest
lnRecs = _tally
(this will move through all records from present to the end of the file)
OR
go bottom
lnRecs = reccount()
then you would have your record count from either present position, or entire set instead of skipping 1 record at a time...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only