473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

On Current Event displays the previous record instead of the record pointed to

I have a subform, where in the "on current" event, I display code that
is supposed to recognize which record I am pointing to, and then
display more specific info in another subform based on that one record
that I have highlighted.

Example.... you point to ID Number: 1111 in the top subform.... all
specific info for ID Number: 1111 will then display in the second
subform.

My problem is: The second subform is actually displaying the specific
information for the previous record that I was pointing to rather than
the current one.

Example... I first point to ID Number: 1111, nothing shows up in the
other subform.... I then point to ID Number: 2222 and the specific
information for ID Number 1111 is displayed.

This is a huge problem because my employees are pointing to an ID
number and think they are looking at the right specific info, when they
are actually making decisions based on other ID's.

ANY ideas on how to correct this would be appreciated.

Thanks,

matt

Nov 13 '05 #1
1 1570
Post the code you're using to synchronize your subforms.

<ma************@eaton.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have a subform, where in the "on current" event, I display code that
is supposed to recognize which record I am pointing to, and then
display more specific info in another subform based on that one record
that I have highlighted.

Example.... you point to ID Number: 1111 in the top subform.... all
specific info for ID Number: 1111 will then display in the second
subform.

My problem is: The second subform is actually displaying the specific
information for the previous record that I was pointing to rather than
the current one.

Example... I first point to ID Number: 1111, nothing shows up in the
other subform.... I then point to ID Number: 2222 and the specific
information for ID Number 1111 is displayed.

This is a huge problem because my employees are pointing to an ID
number and think they are looking at the right specific info, when they
are actually making decisions based on other ID's.

ANY ideas on how to correct this would be appreciated.

Thanks,

matt

Nov 13 '05 #2

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

Similar topics

18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
2
by: Tony | last post by:
Hello, I am having difficulty in getting the current record of the current form to show after pressing a command button that takes me to another form. The command button takes me to another...
2
by: Ryan | last post by:
Access97 I hope someone out there can help. This is driving me crazy. Basically, I am trying to recreate VBA's built in navigation feature (The one that allows you to move first, next,...
1
by: phaddock4 | last post by:
Being fairly inexperienced at Access 2000, i've been reading many posts here for the last several days, and testing myself to find the best approach to do the following in A2K: SET UP: I have...
8
by: Zlatko Matić | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the...
3
by: laryten | last post by:
Hi, Is there a way to update the same web page instead of getting a new page each time we click the submit button? The simplest thing to do is to delete the current page (or go back to the...
5
by: christianlott1 | last post by:
I admit my form is pretty complex and may need a total overhaul - I have two subforms synchronized on a form through an unbound text box. When I enter a new record in the second subform it used...
1
by: roveagh1 | last post by:
Hi I've been using the 2 year old link below to repeat values from previous record field into current corresponding field. It's worked fine for text but the last piece of advice was to use the same...
2
nev
by: nev | last post by:
boundtextbox1 has a defaultvalue of "hello world" in bs.positionchanged event, i placed... textbox1.text = boundtextbox1.text when i add a new record, sometimes textbox1.text correctly...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.