Writing to multiple fields with one text box

35 pts.
Tags:
Access Database
Microsoft Access 2007
Microsoft Access queries
Microsoft Access tables
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • tlsanders1
    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.
    1,340 pointsBadges:
    report
  • Manalyn
    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 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following