Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Data Access Pages > Is it possible ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1735 of 1834
Post > Topic >>

Is it possible to determine the button clicked on the Navigation control in a DAP?

by "George Hester" <hesterloli@[EMAIL PROTECTED] > May 23, 2008 at 03:30 AM

I tried the Method IsButtonEnabled(navbtnMoveNext) say. But this method is
Read only it looks like. What I am trying to do is avoid using the
ServerFilter because it takes so darn long to finish when used the first
time. Also it leaves the RecordSet partially available and we have to set
the ServerFilter = "" to get it all back.

So what I have done is set it up so that I can query the recordset then
force the ButtonClick(oEventInfo) associated with the Navigation control
to
go from the first record found in the query and it picks each one if I
click
the MoveNext button. That is the only button I make available to walk
through the query result. At the end of the walk of the recordset done by
the query, I put all the buttons back in the Navigation control. It works
nice only I would prefer to walk backwards as well. But for that I need to
know which button was clicked MoveNext of MovePrevious. But I am stuck
because I can't figure out how to determine that in vbscript code. Help?


--

George Hester
_________________________________
 




 1 Posts in Topic:
Is it possible to determine the button clicked on the Navigation
"George Hester"  2008-05-23 03:30:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 3:37:26 CST 2008.