M
mcnews
i need to tell the scrollbar on a subform to scroll up with VBA.
can do?
how?
tia,
mcnewsxp
can do?
how?
tia,
mcnewsxp
Check out this.
http://www.lebans.com/List_Combo.htm
--
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
What do you mean, "Not"? Not helpful?
I just assumed the scrollbar you were talking about was in a list, is this
scrollbar in a continuous subform?
Dale
Hi Dale,
I have mcnews in my Killfile. Please do not bother pointing him to solutions
on my site. He's not worth the trouble.
--
HTH
Stephen Lebanshttp://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
People here volunteer their time. If an answer does not address the
question, something like "Thanks, but I was referring to the scroll bar on a
continuous subform" is appropriate; "not" as the entire message is not.
You have provided no information about what would cause the "scrolling" to
happen, whether you wish to have continuous scrolling like movie credits or
rather go to a particular record, or any details that would enable somebody
either to provide a definite suggestion or say that what you seek is not
possible.
mcnews said:please tell me what is not clear about
"i need to tell the scrollbar on a subform to scroll up with VBA."
the scrollbar is on the subform - nowhere else.
that is clear because i did not say that is was anywhere else but on
the subform.
i want it to scroll up with VBA code.
what else is there to say?
me.scrollbar.scrollup
or
me.scrollbar.movetop
or
me.frmSubform.ScrollBar.GoTop
or something
My point was about courtesy, not about somebody misinterpreting your cryptic
question.
You ask what else there is to say. Addressing requests for clarification
would be something to say. I asked "to what end?" in my first post. In my
post before this one I wondered what is to cause the scrolling to happen,
what is the effect of the scrolling, and whether you wish to go to a
specific record.
There is no ScrollBar property. There is a ScrollBars property, but that
has to do with whether a scroll bar appears. What you seek can not be done
by manipulating the scroll bar. However, you can set the timer interval to
1000 (one second), and use some code in the Timer event:
DoCmd.GoToRecord , , acNext
Now when you open the form it will immediately move from one record to the
next. Note the error numbers when you reach the end of the recordset, and
either trap these errors or take some other action when you arrive at the
last record.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.