Computing.Net > Forums > Programming > Access:link query results & fields?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Access:link query results & fields?

Reply to Message Icon

Name: Johanovitch
Date: July 20, 2004 at 11:47:35 Pacific
OS: winXP
CPU/Ram: 1GHz
Comment:

Hi, I'm pretty new to ms access.
I made an access database with 2 tables in it.
the primary key of the first is linked with a field of the second table.
the second table contains valuta.
Then I made a query that makes the sum of these valuta, based on the field that is linked with the first table.

my question is, is it possible to insert the result of the query back in the first table in a specific field?

I hope someone understands what I'm trying to say :)
this might help: (sorry for the dutch in it)

any idea's?

if this is not possible or difficult, can I autoinsert the value in a form instead of a field in the table?

any help apreciated!

Johan




Sponsored Link
Ads by Google

Response Number 1
Name: FBI Agent
Date: July 20, 2004 at 12:21:08 Pacific
Reply:

it seems pretty easy if i understand what you're talking about...
"if this is not possible or difficult, can I autoinsert the value in a form instead of a field in the table?"

that would be as easy as adding a "hidden" input field in the form (type=hidden). however i dont know anything about that access stuff that you're using so i cant help with what you'd preferably like.

FBI_Agent


0

Response Number 2
Name: Johanovitch
Date: July 21, 2004 at 03:00:48 Pacific
Reply:

If I understand what you're saying, you are talking html. I don't think I can use that in access...
I've been thinking about it, and I was wondering if there is an UPDATE query as in MYSQL.
But I know too little of access to find out what I should be looking for.
It's probably easier to use the forms in access.


0

Response Number 3
Name: Johanovitch
Date: July 21, 2004 at 03:04:40 Pacific
Reply:

Nevermind, I was able to do it using forms. although it isn't inserted into a table in this way.


0

Response Number 4
Name: Volunteer Lady
Date: July 22, 2004 at 09:05:29 Pacific
Reply:

OK, I am having a similar problem. I have a field that needs the age computed, so I created a query to do this. Now, how do I link the query results back into that tables field?


0

Response Number 5
Name: Johanovitch
Date: August 12, 2004 at 07:00:50 Pacific
Reply:

I thought about these things, and I don't think it's possible unless you use scripts.

it's because the query uses data from that table but it isn't possible to add data to that table.

I think it should be possible to write a script that reads the result of the query and then adds data to the table, but I don't know anything about vb-scripts, so I don't know how to make such a script.

Johan


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Access:link query results & fields?

Query Results not showing on Reports!?!? www.computing.net/answers/programming/query-results-not-showing-on-reports/2450.html

MS Access Parameter Queries www.computing.net/answers/programming/ms-access-parameter-queries/995.html

Access 2000 Query www.computing.net/answers/programming/access-2000-query/6784.html