×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Make Table query in a Passthru Query

Make Table query in a Passthru Query

Make Table query in a Passthru Query

(OP)
I'm running a passthru query in Access, referencing a SQL database.  In the passthru, is there any way to have the results end up in a table in Access instead of popping up on the display screen as a select query?  Thanks!

RE: Make Table query in a Passthru Query

Hiya Christine,

Yes, it is quite simple. When you design your passthrough query, you should be able to select the query to run as a make table query not a select query (click on the drop down arrow on the Icon to the left of the exclamation mark (the two tables)). You should then get a range of queries that you can run. If you select make table and then supply a table name, that should do what you require.

Tim

RE: Make Table query in a Passthru Query

hello,
I can't do the opposite!

I can't get a query run on the server to make a recordset on the screen, if you see what I mean.  This is in Access 97.  

Go on do tell

Peter Meachem
peter@accuflight.com

RE: Make Table query in a Passthru Query

Hiya Peter,

Basically, you do the same as the instructions for Christine, but instead of selecting a make table query from the drop down list, just chose a select query. This will list your results to screen only.

Tim

RE: Make Table query in a Passthru Query

Sorry, I wasn't clear.  I want the results to be a record source for a form.

Peter Meachem
peter@accuflight.com

RE: Make Table query in a Passthru Query

Hiya Peter,

You should just be able to make a select query which you then pick as your data source for your form. (I think...I don't use Access forms much)

Tim

RE: Make Table query in a Passthru Query

I think I have a question along the same lines. I use a query to search for an older record. One of the values that it returns (endtime) I want it to store in a table so that I can use that value in another calculation (resttime. so I guess my question is the same; how do I store the results of that query but not rewrite the table every time?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close