How to create a New Record

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ddtpmyra
    Contributor
    • Jun 2008
    • 333

    How to create a New Record

    Im using MS SQL database and MS Access for the form and my tables are obviously link to the database. How can I make the Access or SQL to allow new record?

    thanks!
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    It depends on how you connected to your SQL Server from Access. It could be a built-in button or it might require a T-SQL execution.

    Happy Coding!!!

    ~~ CK

    Comment

    • ddtpmyra
      Contributor
      • Jun 2008
      • 333

      #3
      Hi CK,

      connection was from ODBC (linked tables) I tried also to put button and still cannot get thru. Do i have to set any on SQL server or table?

      Comment

      • ddtpmyra
        Contributor
        • Jun 2008
        • 333

        #4
        And the error message when I created the button for adding new record inside the access form is "You can't go to the specified record"

        Comment

        • ddtpmyra
          Contributor
          • Jun 2008
          • 333

          #5
          Problem solved!
          It lets me to create new record when assigned a PK

          Comment

          Working...