Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-10-2006, 02:35 AM
northernbreaks northernbreaks is offline
Registered User
 
Join Date: Sep 2005
Posts: 19
northernbreaks is on a distinguished road
Inputting data Text box to several tables

I am trying to link the textboxes on a form so that their values are stored in 2 seperate tables.
Setting the Record Source of the Form to TableA and the various Text boxes etc are set to the Fields in that table works fine, however I want some other text boxes to be linked to another set of table fields, so that when I enter values into those text boxes the data ends up in a different table.

Has anyone any ideas on how text boxes on one form can be linked to different tables.


dave
Reply With Quote
Sponsored Links
  #2  
Old 01-10-2006, 07:01 AM
supercharge's Avatar
supercharge supercharge is offline
Registered User
 
Join Date: Jun 2005
Location: USA
Posts: 215
supercharge is on a distinguished road
You might want to store those textboxes values as global variables then run some update SQL statements (or insert or append, whatever appropriate) to add them to as many tables as you'd like.
__________________
Life is a pain in the butt!
Reply With Quote
  #3  
Old 01-10-2006, 07:13 AM
DarkProdigy DarkProdigy is offline
Registered User
 
Join Date: Jan 2006
Posts: 91
DarkProdigy is on a distinguished road
Could you add something to the control source like an "&" or some such so that it does this? I'm really new to Access so I could be horribly wrong but it seems to me there should be an easy way to link them.
Reply With Quote
  #4  
Old 01-10-2006, 07:27 AM
geraldcor geraldcor is offline
Registered User
 
Join Date: Jan 2004
Location: Salt Lake City, Utah
Posts: 145
geraldcor
I believe you can just create a query that has the multiple tables in the query. Then base your form on the query and it will add the data into the appropriate fields in the appropriate table.
Reply With Quote
Sponsored Links
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Careful Planning (Re-Designing DB to Access 2003) patentinv Forms 0 09-05-2005 01:03 PM
Need Subforms & Other Columns in Tables? AccessRookie Forms 0 03-28-2005 11:42 AM
Pulling combo box data from tables? mapgeek Forms 3 11-30-2004 10:03 AM
Saving text in tables as uppercase from a form's text box draaYak Forms 1 07-23-2004 03:27 AM
Much simplified combo box/text box issue etalent Forms 0 03-30-2004 06:18 AM


All times are GMT -8. The time now is 09:54 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World