| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
|||
|
|||
|
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 |
| Sponsored Links |
|
#2
|
||||
|
||||
|
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! |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
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.
|
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Careful Planning (Re-Designing DB to Access 2003) | patentinv | Forms | 0 | 09-05-2005 02:03 PM |
| Need Subforms & Other Columns in Tables? | AccessRookie | Forms | 0 | 03-28-2005 12:42 PM |
| Pulling combo box data from tables? | mapgeek | Forms | 3 | 11-30-2004 11:03 AM |
| Saving text in tables as uppercase from a form's text box | draaYak | Forms | 1 | 07-23-2004 04:27 AM |
| Much simplified combo box/text box issue | etalent | Forms | 0 | 03-30-2004 07:18 AM |