Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - Working with Stored Procedures in an MS Ac...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Working with Stored Procedures in an MS Access Project
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2007-01-17

    Table of Contents:
  • Working with Stored Procedures in an MS Access Project
  • Creating a Stored Procedure
  • A Stored Procedure Without Parameters
  • Does MS Access Project support the directionality of the parameters?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Working with Stored Procedures in an MS Access Project - Creating a Stored Procedure


    (Page 2 of 4 )

    Under Objects in the Project click on Queries. This shows the various tasks that you can carry out. Now click on Create stored procedure in designer. This opens the  Stored Procedure1:Stored Procedure interface as shown in the next picture.

    It comes up with a default template, StoredProcedure1 with an AddTable which shows the various tables in the database (it shows only the three that were imported). Now highlight Products and click on the Add button. This adds the Products table to the designer as shown in the next picture. Close the AddTable window.

    From the Products table you choose the columns that are to be added to the Stored Procedure as shown. You just need to place a mark on the check box next to the column name.

    Now make a right click on an empty area in the design pane right next to the table. This opens up the context-sensitive help menu as shown. You may use this to add more tables, insert a group by clause, hide the pane or look at the properties of the stored procedure.

    Click on the Properties menu item which opens the next window as shown. This is the window where you can fill in all the details of your stored procedure. Since the stored procedure will be created on the MSDE Server, it should follow the various considerations such as naming convention, ownership, permissions, and so forth. You also need to specify the stored procedure parameters calling the procedure, the status of execution, and other statements that are included in the procedure. This window that is shown in the next picture provides you with all this support in a single interface.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · Using stored procedures you are buying in security so that your code is safe from...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...

    Iron Speed




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway