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!

re-setting record selector 1

Status
Not open for further replies.

smurf01

IS-IT--Management
Jul 6, 2002
470
GB
I have a form that is requeried from a combo box, the amount of records can vary for each requery. If I have used the record selector and let's say it is showing as row 5 selected when I do a requery I would like the record selector to default back to the first row. is this possible

Regards

Paul
 
Hi

One of several ways to do this

Me.RecordsetClone.MoveFirst
me.Bookmark = me.recordsetclone.bookmark

after the requery statement

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Ken,
I am doing the requery statement from another form(frmFluteTypePapers) to this subform as shown below and I am getting an invalid reference error when I try to use it

Private Sub cmbOuterLiner_AfterUpdate()
Me![frmFTPResults].Requery
End Sub

Regards

Paul
 
Ken,
My thanks for your help the problem was the way i was trying to do the requery. All is well now

:-D [[2thumbsup] :-D

Regards

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top