473,394 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

access queries buttons

2
I have access database and want to create queries from command buttons, to select data according to designation.I need assistance on how to add these command buttons attach the select queries.
Mar 18 '14 #1
3 13539
jimatqsi
1,271 Expert 1GB
Moroke,
Welcome to Bytes. You'll find a lot of good help here.

One doesn't (generally) "create queries" from command buttons so much as launch queries with command buttons. I assume it is your case, but let's verify that.

Have you already made your queries? Have you made a form to put the buttons on, or are you thinking the buttons will be on a toolbar only?

You'll benefit a lot by spending some time going through the examples in the sample database that came with your copy of Access. The name of it is probably Southwind.mdb. By the time you finish reviewing those samples you'll feel like your own expert.

Jim
Mar 18 '14 #2
Moroke
2
Yes I want to launch with command buttons. I have made few queries and the form. Ideally was to just click a button and have a query like
Expand|Select|Wrap|Line Numbers
  1. "SELECT *, FROM table; WHERE Classification='senior managers'"
Rather than running the queries and the button just load already ran queries.
But again I will follow your advice and review the database sample.
Thanks a lot.
Mar 18 '14 #3
zmbd
5,501 Expert Mod 4TB
"Southwind.mdb" it's "Northwind" and depending on the version of Access the extention is either .mdb or .accdb

The newer version of the example database uses a lot of Macros to execute common tasks. Although not wrong, certainly doesn't help the novice learn VBA for the more advanced tasks.

Moroke, we also like to see what you've already attempted. Although we're willing to help, and many of use will give you shirt off our backs, we're also not a code writing service. Basiclly, we like to teach you how to fish, not just give you a fish (^_^)
Mar 20 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Marco Alting | last post by:
Hi, I'm still confused about my queries, I want to do something is ASP that is easily done in Access. I'll post the Access queries below as a reference. The main idea is that the queries depend...
7
by: Dana Shields | last post by:
I am attempting to upsize from access to SQL Server. I'm trying to convert my queries to SQL Server views; however, I'm having a lot of difficulty with the syntax differences. For instance, a...
1
by: Craig Washington | last post by:
How in code can you use the Microsoft Access Queries with ADO in code? Anyone???
3
by: Kevin Forbes | last post by:
So, I've found how to list all the tables in an Access database (as seen below) and running MS Access queries is easy (similar to executing a stored procedure), but how do I list the names of all...
6
by: jfbevilaqua | last post by:
Does anyone know of a utility or a method (VBA or otherwise) to be able to export ALL 100+ MS Access Queries from an Access Table into individual text files perhaps ending with .sql so they can be...
4
MMcCarthy
by: MMcCarthy | last post by:
To view Access queries in SQL rather than Access query design - open the query design window and change the view to SQL: Select Statement SELECT FROM ; Append Statement INSERT INTO (, , )...
2
by: MyEmailList | last post by:
We have an Access data base with severl tables, queries and forms. We want to put it on the web. Is there a tool that will convert the Access queries and forms to ASP? Sorta like "splitting"...
5
by: forrestgump | last post by:
I want to be able to run multiple access queries on a single microsoft excel worksheet. Ideally I want to define what queries i want in excel and import the results of all queries one after...
3
by: Shiny Star | last post by:
I have 4tables & I write class for all those table to hold a tables information as one whole unit. I am using MS Access queries, just like stored procedures so the queries (select, update, delete,...
1
by: Ana sid | last post by:
Hi. I want to access the buttons on one form from another form to control the visibility of the buttons.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.