PC Review


Reply
Thread Tools Rate Thread

Re: Code help please

 
 
Tom van Stiphout
Guest
Posts: n/a
 
      27th Feb 2010
On Sat, 27 Feb 2010 15:54:25 GMT, "Afrosheen via AccessMonster.com"
<u46942@uwe> wrote:

An alternative to writing code may be for you to Filter rather than
Find.

-Tom.
Microsoft Access MVP


>When looking for a record that has duplicate last names I can press cmdNext
>to get the next record. The source control is based on a master query. Once I
>keep pressing the cmdNext it will find all the codes. When it gets to the end
>of the cmdNext I would like something to say that this is the end of the
>records. I don't believe it is a recordset and I'm not sure how to check and
>see if it is.
>
>This is the code for the cmdNext. Your help would be appreciated. Thanks in
>advance.
>
>Private Sub cmdNext_Click()
>On Error GoTo Err_cmdNext_Click
>
> Screen.PreviousControl.SetFocus
> DoCmd.FindNext
>
>Exit_cmdNext_Click:
> Exit Sub
>
>Err_cmdNext_Click:
> MsgBox Err.Description
> Resume Exit_cmdNext_Click
>
>End Sub

 
Reply With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      2nd Mar 2010
Hey Afrosheen! What is your email? I tried to send you an email and it
bounced back to me. I have something that should do what you want, or get
you pretty close...

Since the email listed under your name doesn't work, send me an email and
I'll reply back with a file that should do what you want. I can't find the
original source, so I can't post it here.

Ryan---
(E-Mail Removed)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Tom van Stiphout" wrote:

> On Sat, 27 Feb 2010 15:54:25 GMT, "Afrosheen via AccessMonster.com"
> <u46942@uwe> wrote:
>
> An alternative to writing code may be for you to Filter rather than
> Find.
>
> -Tom.
> Microsoft Access MVP
>
>
> >When looking for a record that has duplicate last names I can press cmdNext
> >to get the next record. The source control is based on a master query. Once I
> >keep pressing the cmdNext it will find all the codes. When it gets to the end
> >of the cmdNext I would like something to say that this is the end of the
> >records. I don't believe it is a recordset and I'm not sure how to check and
> >see if it is.
> >
> >This is the code for the cmdNext. Your help would be appreciated. Thanks in
> >advance.
> >
> >Private Sub cmdNext_Click()
> >On Error GoTo Err_cmdNext_Click
> >
> > Screen.PreviousControl.SetFocus
> > DoCmd.FindNext
> >
> >Exit_cmdNext_Click:
> > Exit Sub
> >
> >Err_cmdNext_Click:
> > MsgBox Err.Description
> > Resume Exit_cmdNext_Click
> >
> >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
cant install vista im going crazy please help please please please =?Utf-8?B?TWFuTmVlZEhlbHA=?= Windows Vista Installation 2 31st Jul 2006 02:55 PM
cant install vista im going crazy please help please please please =?Utf-8?B?TWFuTmVlZEhlbHA=?= Windows Vista Installation 2 30th Jul 2006 09:31 PM
[New] Zipoid - ZIP Code, City Name and Area Code Lookup - Zip Code to Zip Code Distance Calculation Mel Freeware 0 22nd Jul 2005 04:13 PM
Help! Anyone! Please Please Please Please Please Please =?Utf-8?B?UmFuZHk=?= Microsoft Access Macros 2 17th May 2004 07:16 PM
Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! Help! -$- Windows XP Internet Explorer 2 21st Dec 2003 11:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:45 AM.