Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

activating record selector after re-query

Status
Not open for further replies.

smurf01

IS-IT--Management
Jul 6, 2002
470
GB
I have a subform that is requeried from a combobox on the main form, once the requery is done I then click the record selector to requery another subform. Is there anyway to simulate that "click" by code. Once the first record is "clicked" i have it set up so that the users can use the up and down arrows to move through the records which then also requeries the second subform using the Keyup event

Regards

Paul
 
OK, I have worked out that by pressing "Shift + Spacebar" this activates the first record, can anyone out there explain the correct syntax to SendKeys via VBA. I have this line of code below which does not work

Code:
SendKeys "(vbKeyShift+vbKeySpace,False)"

Regards

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top