Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 1st, 2006, 02:48 PM
Registered User
 
Join Date: Feb 2006
Location: , Alabama, .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combo Box posting to Wrong Record

I have a simple form with three text fields and two combo boxes. The form is used to update record information at a later time. The first box finds the ContractNum field in the table. This box displays the information correctly. The second box selects the status field in a second table and displays it correctly. My problem is that even though both boxes pull the correct information, when I save the updated information, it gets posted to the wrong record (generally the first record in the table). I know that I have over-looked something but I just can't seem to put my finger on it. The form is in its basic format with only a "Save" button to check functionality (with basic VB code behind the button). Any help on this would be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old February 3rd, 2006, 12:56 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Can you post the On Click event code?


mmcdonal
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box to display items from parent combo box Gini Visual Studio 2008 0 June 18th, 2008 12:30 AM
how to browse a record through a combo box shankar Access VBA 3 December 22nd, 2004 08:49 PM
Find Record Use Combo Box martinaccess Access 2 October 17th, 2004 07:42 AM
Find Record Combo Box Wizard Won't Show 3rd Choice HenryE Access 0 February 2nd, 2004 11:52 PM
Combo box DisplayMember only shows on 1st record jraymond VB.NET 2002/2003 Basics 1 June 13th, 2003 09:51 AM



All times are GMT -4. The time now is 12:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.