Results 1 to 3 of 3

Thread: How to use stored procedure with Acess ???

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2003
    Posts
    68

    Question How to use stored procedure with Acess ???

    I would like to create a new customer in my DB and receive back from access the primary key assigned by the DB.

    In the documentation, there is a solution "stored procedure" but it work only with SQL Server.

    Does someone tell me how to implement it with access

    create procedure newexpediteur
    @num_expediteur nchar(10)
    as
    insert into expediteurs (num_expediteur)
    values( @num_expediteur)
    return (@@key)
    go

    Many thanks

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Unless they changed access, you can't run stored proceedures.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width