PC Review


Reply
Thread Tools Rate Thread

I can't scroll thru records using my combo drop-down.

 
 
Denise Walker via AccessMonster.com
Guest
Posts: n/a
 
      11th Apr 2005
I can't scroll thru records using my combo drop-down. When I click my drop
down with the code below, the record changes, but not the recordid. What
happens is that the new record overlays the current recordid. What I would
like is for the User to click on the combo box and pick a name. then from
that name, the correct record populates the fields. What is wrong with my
code?

Dim rs As Object

Set rs = Me.Recordset.Clone
rs.FindFirst "[acctID] = " & Str(Nz(Me![NamePicker], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub

--
Message posted via http://www.accessmonster.com
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      12th Apr 2005
See reply to same question 2 hours later.
BTW, make sure the combo is unbound.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Denise Walker via AccessMonster.com" <(E-Mail Removed)> wrote
in message news:(E-Mail Removed)...
>I can't scroll thru records using my combo drop-down. When I click my drop
> down with the code below, the record changes, but not the recordid. What
> happens is that the new record overlays the current recordid. What I
> would
> like is for the User to click on the combo box and pick a name. then from
> that name, the correct record populates the fields. What is wrong with my
> code?
>
> Dim rs As Object
>
> Set rs = Me.Recordset.Clone
> rs.FindFirst "[acctID] = " & Str(Nz(Me![NamePicker], 0))
> If Not rs.EOF Then Me.Bookmark = rs.Bookmark
> End Sub



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scroll, Combo-box, Drop-down Box not working Bilbo Windows Vista Performance 0 23rd Jan 2009 09:34 PM
Can I use the scroll wheel to scroll through records - Access2007 Jim Roberts Microsoft Access 3 2nd Sep 2008 03:36 PM
Scroll-bar-selector jumps when having combo-boxes with many records Gijs Beukenoot Microsoft Access Form Coding 0 22nd Mar 2006 09:44 AM
command button to scroll combo box records =?Utf-8?B?QnVpbGQgb3IgRGll?= Microsoft Access Forms 0 24th Jan 2005 07:25 PM
Select Records for Combo Box or List Box drop down LouPelagalli Microsoft Access 0 12th Jan 2004 02:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:28 AM.