473,804 Members | 2,271 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

navigation buttons sometimes require two clicks to move

Hi

Using A2003

My db has main form [frmStakeholders] with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons to move to the next/
previous record. (regardless of whether or not the subfrm is dirty).

The subform [frmSHDetails] has a text box "DateChange d" which updates
on the AfterUpdate of [frmSHDetails]: (this control blinks when a nav
button is clicked).

Private Sub Form_AfterUpdat e()
If Format(Me.DateC hanged, "dd/mm/yyyy") <Format(Now() , "dd/Mm/
yyyy") Then
Call Changed
End If
End Sub

Private Sub Changed()
Me.fUserID = [Forms]![frmLogIn]![fUserID]
Me.DateChanged = Now()
End Sub

Any help to fix this annoying behaviour is sincerely appreciated.

Peta
Jan 14 '08 #1
4 1766
Move the code into Form_BeforeUpda te.

If you use Form_AfterUpdat e, you dirty the form again as soon as the record
is saved. So it has to save again, which again dirties it straight away. So
it has to save again, which ...

--
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.

<pg**@westnet.c om.auwrote in message
news:cb******** *************** ***********@p69 g2000hsa.google groups.com...
Hi

Using A2003

My db has main form [frmStakeholders] with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons to move to the next/
previous record. (regardless of whether or not the subfrm is dirty).

The subform [frmSHDetails] has a text box "DateChange d" which updates
on the AfterUpdate of [frmSHDetails]: (this control blinks when a nav
button is clicked).

Private Sub Form_AfterUpdat e()
If Format(Me.DateC hanged, "dd/mm/yyyy") <Format(Now() , "dd/Mm/
yyyy") Then
Call Changed
End If
End Sub

Private Sub Changed()
Me.fUserID = [Forms]![frmLogIn]![fUserID]
Me.DateChanged = Now()
End Sub

Any help to fix this annoying behaviour is sincerely appreciated.

Peta
Jan 15 '08 #2
On Jan 15, 11:21*pm, "Allen Browne" <AllenBro...@Se eSig.Invalid>
wrote:
Move the code into Form_BeforeUpda te.

If you use Form_AfterUpdat e, you dirty the form again as soon as the record
is saved. So it has to save again, which again dirties it straight away. So
it has to save again, which ...

--
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.

<p...@westnet.c om.auwrote in message

news:cb******** *************** ***********@p69 g2000hsa.google groups.com...
Hi
Using A2003
My db has main form [frmStakeholders] with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons to move to the next/
previous record. (regardless of whether or not the subfrm is dirty).
The subform [frmSHDetails] has a text box "DateChange d" which updates
on the AfterUpdate of [frmSHDetails]: (this control blinks when a nav
button is clicked).
Private Sub Form_AfterUpdat e()
* *If Format(Me.DateC hanged, "dd/mm/yyyy") <Format(Now() , "dd/Mm/
yyyy") Then
* * * *Call Changed
* *End If
End Sub
Private Sub Changed()
* *Me.fUserID = [Forms]![frmLogIn]![fUserID]
* *Me.DateChanged = Now()
End Sub
Any help to fix this annoying behaviour is sincerely appreciated.
Peta- Hide quoted text -

- Show quoted text -
of course!

Cheers Allen
Jan 15 '08 #3
On Jan 15, 4:59 pm, p...@westnet.co m.au wrote:
On Jan 15, 11:21 pm, "Allen Browne" <AllenBro...@Se eSig.Invalid>
wrote:
Move the code into Form_BeforeUpda te.
If you use Form_AfterUpdat e, you dirty the form again as soon as the record
is saved. So it has to save again, which again dirties it straight away. So
it has to save again, which ...
--
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.
<p...@westnet.c om.auwrote in message
news:cb******** *************** ***********@p69 g2000hsa.google groups.com...
Hi
Using A2003
My db has main form [frmStakeholders] with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons to move to the next/
previous record. (regardless of whether or not the subfrm is dirty).
The subform [frmSHDetails] has a text box "DateChange d" which updates
on the AfterUpdate of [frmSHDetails]: (this control blinks when a nav
button is clicked).
Private Sub Form_AfterUpdat e()
If Format(Me.DateC hanged, "dd/mm/yyyy") <Format(Now() , "dd/Mm/
yyyy") Then
Call Changed
End If
End Sub
Private Sub Changed()
Me.fUserID = [Forms]![frmLogIn]![fUserID]
Me.DateChanged = Now()
End Sub
Any help to fix this annoying behaviour is sincerely appreciated.
Peta- Hide quoted text -
- Show quoted text -

of course!

Cheers Allen
Hi Allen: I have the same problem with having to double click the
navigation bar twice to recalculate and move between records. I
removed all the events and still the same annoying behavior. If I add
a commandbutton to move between records it works fine. Any suggestions
are greatly appreciated. Alan
Feb 2 '08 #4
On Feb 2, 12:03 pm, Alan <a...@comcast.n etwrote:
On Jan 15, 4:59 pm, p...@westnet.co m.au wrote:
On Jan 15, 11:21 pm, "Allen Browne" <AllenBro...@Se eSig.Invalid>
wrote:
Move the code into Form_BeforeUpda te.
If you use Form_AfterUpdat e, you dirty the form again as soon as the record
is saved. So it has to save again, which again dirties it straight away. So
it has to save again, which ...
--
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.
<p...@westnet.c om.auwrote in message
>news:cb******* *************** ************@p6 9g2000hsa.googl egroups.com...
Hi
Using A2003
My db has main form [frmStakeholders] with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons to move to the next/
previous record. (regardless of whether or not the subfrm is dirty).
The subform [frmSHDetails] has a text box "DateChange d" which updates
on the AfterUpdate of [frmSHDetails]: (this control blinks when a nav
button is clicked).
Private Sub Form_AfterUpdat e()
If Format(Me.DateC hanged, "dd/mm/yyyy") <Format(Now() , "dd/Mm/
yyyy") Then
Call Changed
End If
End Sub
Private Sub Changed()
Me.fUserID = [Forms]![frmLogIn]![fUserID]
Me.DateChanged = Now()
End Sub
Any help to fix this annoying behaviour is sincerely appreciated.
Peta- Hide quoted text -
- Show quoted text -
of course!
Cheers Allen

Hi Allen: I have the same problem with having to double click the
navigation bar twice to recalculate and move between records. I
removed all the events and still the same annoying behavior. If I add
a commandbutton to move between records it works fine. Any suggestions
are greatly appreciated. Alan
After deleting one control at a time I found the culprit. A bound
control. Thanks anyway
Feb 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6966
by: Mike MacSween | last post by:
A single form (i.e. no subforms) opening full screen, how can I get the navigation buttons (Access built in) to be higher than the bottom of the screen. It annoys the users - they go for the nav buttons and end up raising the taskbar, which is set to autohide. TIA, Mike MacSween
3
3048
by: fred14214 | last post by:
Dear Group: I have built and customized a form using the wizard to put command buttons that will move to the NEXT record or PREVIOUS record. This works, but it needs some refinement. Presently, if I am on the first record and click the PREVIOUS record button, I get some built in, generic Access message. And, if I am on the last record from the table and I click the NEXT record button, I am advanced to the *new* record row in the table.
2
1723
by: PC Datasheet | last post by:
I have an AccessXP(A2000 mode) customer who says on one form the navigation buttons do nothing when he clicks on any of the 5 but the navigation buttons work on other forms. In my copy of the database the navigation buttons work fine in the problem form. I have confidence in what he is telling me! Because of distance, I can not go on site. Does any one have any thoughts on this? Thanks! Steve PC Datasheet
2
9543
by: longtim | last post by:
I have been trying to implement navigation buttons for a number of forms in my application. Creating the 'Next' 'Previous' buttons has been fine but setting the enabled properties doesn't work due to problems with the BOF and EOF properites. They never appear to be set properly. Here is the offending code: private sub Form_Current()
5
2460
by: mayur_hirpara | last post by:
Hi, I have been developing web applications for a while now. However, as I was thinking through the architecture I really don't understand the "How server can identify between which buttons has made the postback request.???" for e.g. I have a webpage default.aspx. I place TWO or more server buttons on it. Create server-side event handlers for each of the buttons.
6
5494
by: John | last post by:
Hi I need to block user from moving away from a record using any of First/Last/Prev/Next/New Record or any other way IF the record has not been saved, and displaying a message to the effect "Please finish editing". If however the user has explicitly saved the record using save from the access menu then allow to move from record. How do I achieve this via code? Thanks
1
2681
by: D Lutheran | last post by:
I need to write some code in some navigation buttons to have the button move up and down list box items. I think I need to start with having the button change an index the buttons are previous, next and update. where previous would move the cursor up the list one, next would move the cursor down the list one and update would change the string that is in the current cursor position in the list box
4
2906
by: Jamey Shuemaker | last post by:
Howdy, Saw a couple threads from the past few years on this topic, but didn't really find any solutions. Here's one I found: http://groups.google.com/group/comp.databases.ms-access/browse_frm/thread/f6ccff0186d12566/ That fella wanted to do pretty well the same thing I did (use a command button to move between records in a form). Moving from record to record
1
2913
lwwhite
by: lwwhite | last post by:
Another question. On one of my forms, I have two radio buttons: Topic and Window. Beside each of them is a drop-down to select the corresponding topic or window. When Topic is selected the window drop-down is disabled, and vice-versa. But what I'd like to do is give the appearance of one field only. So I placed the topic drop-down directly on top of the window drop-down and set their Visible properties using the On Mouse Down event of the...
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7635
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.