Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 4th, 2007, 10:46 AM
freezeb freezeb is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 15 freezeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 32 sec
Reputation Power: 0
Angry Forms - Append data from unbound combo boxes to seperate table

I have a form setup that has 5 combo boxes where a user will select one item from each combo box. Each combo box is from a differant table. Once this is done I want to be able to append or update the results into a new table I created. My problem is I don't know how to submit the data from the combo boxes to the new table. Can anyone help me with this?

Thanks

Reply With Quote
  #2  
Old August 4th, 2007, 12:49 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Why not bind the form with the ComboBoxes on it to the table you want to update?

Reply With Quote
  #3  
Old August 4th, 2007, 01:03 PM
freezeb freezeb is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 15 freezeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 32 sec
Reputation Power: 0
Quote:
Originally Posted by RuralGuy
Why not bind the form with the ComboBoxes on it to the table you want to update?


I did bind the table to the form. I still don't know how the information in the combo boxes gets inserted into the table that I want. I added each field that is to be updated to the bottom of the form but they don't get appended to.

Reply With Quote
  #4  
Old August 4th, 2007, 01:10 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Just bind each ComboBox to the appropriate field.

Reply With Quote
  #5  
Old August 4th, 2007, 01:33 PM
freezeb freezeb is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 15 freezeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 32 sec
Reputation Power: 0
Quote:
Originally Posted by RuralGuy
Just bind each ComboBox to the appropriate field.


Okay that I guess is my question. I am new to MS Access so I don't know how to bind the combo box to the field I want in the new table. Is this done in the properties for the field I want updated.

Reply With Quote
  #6  
Old August 4th, 2007, 01:40 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Go to the Data tab of the Properties sheet for the ComboBox and use the dropdown in the ControlSource to select the field to bind to.

Reply With Quote
  #7  
Old August 4th, 2007, 02:14 PM
freezeb freezeb is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 15 freezeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 32 sec
Reputation Power: 0
Quote:
Originally Posted by RuralGuy
Go to the Data tab of the Properties sheet for the ComboBox and use the dropdown in the ControlSource to select the field to bind to.


Thanks for the help.

Reply With Quote
  #8  
Old August 4th, 2007, 02:17 PM
freezeb freezeb is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 15 freezeb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 54 m 32 sec
Reputation Power: 0
Quote:
Originally Posted by RuralGuy
Go to the Data tab of the Properties sheet for the ComboBox and use the dropdown in the ControlSource to select the field to bind to.



Is there a way to get the form to jump to a new record right from the start or do I have to manually do that each time I want to add a record from the combo boxes?

Reply With Quote
  #9  
Old August 4th, 2007, 02:18 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Glad I could help. As you can see, in many cases Access can do most of the work for you with bound forms.

Last edited by RuralGuy : August 4th, 2007 at 02:26 PM.

Reply With Quote
  #10  
Old August 4th, 2007, 02:20 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Quote:
Originally Posted by freezeb
Is there a way to get the form to jump to a new record right from the start or do I have to manually do that each time I want to add a record from the combo boxes?
If you set the DataEntry property on the Data tab of the property sheet for the FORM to YES, the form will only show you *new* records.

Reply With Quote
  #11  
Old August 4th, 2007, 04:31 PM
RuralGuy's Avatar
RuralGuy RuralGuy is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2005
Location: @ 8300' in the Colorado Rocky Mountains
Posts: 951 RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level)RuralGuy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 16 h 11 m 39 sec
Reputation Power: 132
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
Glad to hear everything worked for you. It's why we're here.

Reply With Quote
  #12  
Old November 4th, 2009, 11:27 AM
ablack ablack is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 9 ablack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 28 m 50 sec
Reputation Power: 0
Smile unbound form question

I am trying to do something very similar to the forum I just read with the unbound forms writing to a table.

I have unbound combo boxes that are updating depending on what they have chosen from the first combo box. That is all working great but when they have selected everything from the combo boxes and typed their comments, I can't get the information to write back to the nonconformance table for reporting later. All combo boxes are using the tblktables to get the data.

My question is how do I get an unbound combo box to write to the table since using the bound boxes is not an option?

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Forms - Append data from unbound combo boxes to seperate table


Thread Tools  Search this Thread 
Search this Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek