Urgent: Filtered form to table

How do I make a table from a filtered form?
IlijaKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LambersonSoftware EngineerCommented:
Hi IlijaK,

> How do I make a table from a filtered form?

How are you filtering the form? A query will "filter" the table and use that as the datasource for the form. that is the usual way to go.

HTH
0
IlijaKAuthor Commented:
I ment i have a form based on a query and in that form various buttons to filter it. Now I would like to make a table from that filtered (using the form) query if possible
0
Bob LambersonSoftware EngineerCommented:
Hi IlijaK,
I guess I would use a button that fires a make table query, using the same criteria that your filter button uses. This could be added to the existing query(s) as a where clause in the SQL, and you could easily work it out in the access query wizard gui.

HTH
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

rockiroadsCommented:
Use BobLamberson's idea for user generated tables, else use a form handler. But I would go for Bob's idea.

Just to add, the sql would look something like this

SELECT field1, field2, field3
FROM table1
INTO newtable
WHERE ...

As simple as that, simply add the INTO table in your current sql
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IlijaKAuthor Commented:
I'll try it out today,
thank you rockiroads

but from the look at it only works to transfer items from one table to another. I need it to transfer data from a filtered query (filtered in a form) to a table
0
Jeffrey CoachmanMIS LiasonCommented:
IlijaK
That's exactly what rockiroads' code does. It "Selects" the data "Into" this new table. (by default it "creates" the new Table)

(just a clarification)
0
IlijaKAuthor Commented:
Sorry for the delay -
rockiroads thank you for the answer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.