35 pts.
 Writing to multiple fields with one text box
I am trying to find a way to get a single text box to write to multiple fields within a table. The reason I want to do this is for graphing purposes (with an outside source) and to not over crowd/complicate a form for the operators who will be using it.
If this is not possible is there a way to make a report that pulls from different queries?






Software/Hardware used:
MS Access 2007, SQL
ASKED: Feb 3, 2012  2:20 PM GMT
UPDATED: February 28, 2012  8:33:34 AM GMT
35 pts.
  Help
 Approved Answer - Chosen by Manalyn (Question Asker)

Set db = CurrentDb
Set sn = db.OpenRecordset("SELECT * FROM databasename ORDER BY ID DESC", dbOpenDynaset, dbSeeChanges

sn.addnew
sn!fieldname = Me.textbox

sn.Update
sn.Close
ANSWERED:  Feb 17, 2012  2:03 PM (GMT)  by Manalyn   35 pts.

 
Other Answers:
Set db = CurrentDb
Set sn = db.OpenRecordset("SELECT * FROM databasename ORDER BY ID DESC", dbOpenDynaset, dbSeeChanges

sn.addnew
sn!fieldname = Me.textbox

sn.Update
sn.Close
Last Wiki Answer Submitted:  Feb 17, 2012  2:03 PM (GMT)  by  Manalyn   35 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

I think to actually get a single text box to update to several different fields, you would have to write some code in VBA. If you are not comfortable with this, maybe the simpler solution to to set up a query that pulls from several different queries and use that overall query as the basis for your report.

 900 pts.

 

Yes I needed a code to accomplish this. I just did not know how to set it up as I am learning this stuff as I go. I eventually was given a code to manually what I want to be saved where.

 35 pts.