Microsoft Access Database and its Query Using Global Variable
[ad#ad2] Microsoft Access Database and its Query Using Global Variable
Microsoft Access Database supports the making of queries that can be linked to external data sources through the use of ODBC connections on the local computer. This enables users to interact with data stored outside the Microsoft Access database without using linked Tables. The Pass-Through is another queries are written using the Structured Query language (SQL) syntax supported by the external data source. Microsoft Access Database also offers the ability for programmers to create Database driven web applications by help of the programming language. Access databases offer a Query Designer, a graphical user interface that allows users to create queries without knowledge of the SQL programming language.
Besides query application of Microsoft Access Databases you are going to learn how to select data in one form and open another form with more data related to the field you just selected by taking advantage of global variables in the query design form. To help get this, you will use a global variable entered in the criteria of a field while creating the query in the Microsoft Access Databasequery design form. The result is a powerful user interface function that allows a user to look up more data, or enter more data related to a selected record. Users can use it to look up pricing histories, addresses, inventory locations, really anything where you would have more data about a key field in your database.
You can achieve this by learning to use global variables. These variables can be accessed by any form, query, macro, or other modules while you are in the Access session. Use a module to store these variables in.
There are several simple steps to achieve this functionality of Global Variable
Create a global variable in a module
Create your data table.
Create the source query for the look up or pop up form
Create the pop up form with the source query as the data source
Create the form to enter the selection from and enter the VBA code to the pertinent control events on the form to open the look up form.
I am The webmaster at www.alphasoftware.com — An database management company, Our goal at Alpha Software is to provide you with exceptional software along with outstanding customer service. If you have any questions, suggestions, comments or issues with your experience here, please tell us.
[ad#ad3]
Find More microsoft access database Articles
Author: Articley
My name is Husain. I live in Houston,Texas . I study at the University of Houston, majored in Industrial Engineering. My hobbies include Web design, watching movies and learning new things related to Web design and SEO.
This author has published 60849 articles so far.
Processing your request, Please wait....