A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Timing error on form



 
 
Thread Tools Display Modes
  #1  
Old May 2nd, 2008, 07:49 PM posted to microsoft.public.access.forms
Amy Blankenship
external usenet poster
 
Posts: 539
Default Timing error on form

I have a form that is in a subform control and itself contains a subform.

I had always assumed that I could use the Current event of the form and
access the values that are going to be shown in the form for that record.
But I have a situation where when the Current event fires, the primary key
value used in a hidden text control "lags behind" the loaded values.

So, when the form's current event fires the first time, the value is 0.
When it fires the second time (on navigate to record 2), the value is 1.

What could be causing this, and is there a different event I should look at
to get accurate values here?

Thanks;

Amy


  #2  
Old May 2nd, 2008, 08:04 PM posted to microsoft.public.access.forms
Amy Blankenship
external usenet poster
 
Posts: 539
Default Timing error on form

Never mind. Compact and repair fixed it...

"Amy Blankenship" wrote in message
...
I have a form that is in a subform control and itself contains a subform.

I had always assumed that I could use the Current event of the form and
access the values that are going to be shown in the form for that record.
But I have a situation where when the Current event fires, the primary key
value used in a hidden text control "lags behind" the loaded values.

So, when the form's current event fires the first time, the value is 0.
When it fires the second time (on navigate to record 2), the value is 1.

What could be causing this, and is there a different event I should look
at to get accurate values here?

Thanks;

Amy



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.