PC Review


Reply
Thread Tools Rate Thread

Custom Record Selector Controls that don't work like the built-inones

 
 
Patrick Potvin
Guest
Posts: n/a
 
      24th May 2010
Hello,

I've created my on 'Previous' and "Next' controls for record selecting
over Access's built-in record selectors.because I wanted to get rid of
(hide) the selector bar at the bottom of my form. My controls work
fine up until I add a new record (using a custom control for that
too). Once I add a new record, my 'Previous' and 'Next' controls no
longer toggle through the existing records that I have. If I use the
built-in selectors I do not have this problem, as everything works
fine. I figure its because my record source for this form is a query
that does not get updated once I add a new record. If I close the form
and re-open it, my custom record selector controls work fine again.
How can I get my custom selector controls to work properly once i add
a new record like the built -in ones do??? (fyi and without going
into details why, using the built-in selectors instead of my custom
ones is not an option).

Patrick
 
Reply With Quote
 
 
 
 
Daryl S
Guest
Posts: n/a
 
      24th May 2010
Are you doing a me.requery after adding the new records?

--
Daryl S


"Patrick Potvin" wrote:

> Hello,
>
> I've created my on 'Previous' and "Next' controls for record selecting
> over Access's built-in record selectors.because I wanted to get rid of
> (hide) the selector bar at the bottom of my form. My controls work
> fine up until I add a new record (using a custom control for that
> too). Once I add a new record, my 'Previous' and 'Next' controls no
> longer toggle through the existing records that I have. If I use the
> built-in selectors I do not have this problem, as everything works
> fine. I figure its because my record source for this form is a query
> that does not get updated once I add a new record. If I close the form
> and re-open it, my custom record selector controls work fine again.
> How can I get my custom selector controls to work properly once i add
> a new record like the built -in ones do??? (fyi and without going
> into details why, using the built-in selectors instead of my custom
> ones is not an option).
>
> Patrick
> .
>

 
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
Open record in form using table Record Selector =?Utf-8?B?UmljaCBTdG9uZQ==?= Microsoft Access Forms 7 14th Jul 2006 02:02 AM
Built-in controls with custom providers John Microsoft ASP .NET 1 17th Dec 2005 01:50 AM
custom container controls that work at design-time? PJ6 Microsoft ASP .NET 1 16th Sep 2005 07:42 PM
some attributes don't work for custom controls Christian Microsoft VB .NET 1 10th Feb 2004 10:25 PM
vba: howto select a record like klicking on record selector ## Benjamin Adnam ## Microsoft Access 2 5th Oct 2003 10:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:37 AM.