Form for entering data into linked Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Catalyst159
    New Member
    • Sep 2007
    • 111

    Form for entering data into linked Table

    I have a linked table called "dbo_tblNot es".

    dbo_tblNotes has the following fields:

    id (Data Type = Number, Indexed = No)
    note (Data Type = Memo)
    addDate (Data Type = Date/Time)
    uid (Data Type = Text)
    private (Data Type = Number)

    I am trying to create a form that I can use to enter notes and comments. Any notes that are entered would be stored in the "dbo_tblNot es" table under the "note" field. I only want the form to be used for entering or changing notes. I have tried creating a form based on the "dbo_tblNot es" table but I am unable to enter anything into Notes. It only displays the notes for each record.

    Any help would be greatly appreciated. Thanks in advance.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32636

    #2
    You need to make sure the underlying recordset is updatable and ensure AllowAdditions is set to True.

    Comment

    • Mihail
      Contributor
      • Apr 2011
      • 759

      #3
      Also AllowEdits must be set to true.

      Comment

      • Catalyst159
        New Member
        • Sep 2007
        • 111

        #4
        Is AllowAdditions found under the forms properties?

        Is AllowEdits found under the forms properties?
        Last edited by NeoPa; Feb 22 '12, 03:04 PM. Reason: Spam posts merged - please don't spam threads!!

        Comment

        • Catalyst159
          New Member
          • Sep 2007
          • 111

          #5
          How could I make sure that the underlying recordset is updateable?

          I have checked the AllowAdditions and AllowEdits options and they are indeed set to True, but still I am unable to enter or edit the note.

          Comment

          • Mihail
            Contributor
            • Apr 2011
            • 759

            #6
            If your form is bounded to a table then the recordset IS updatable.
            If the form is bound to a query, run the query, then try to make a change in the "note" field.
            If you can do that then the recordset is updatable.
            If can't the recordset is not updatable.

            If the recordset is updatable I can see only one reason for why you can't edit the "note" field:
            The text box for notes is locked.
            So... unlock it.

            Comment

            • NeoPa
              Recognized Expert Moderator MVP
              • Oct 2006
              • 32636

              #7
              Please check Reasons for a Query to be Non-Updatable if your record source is not updatable.

              Comment

              • Catalyst159
                New Member
                • Sep 2007
                • 111

                #8
                I am getting the following message:

                "This recordset is not Updateable."

                Is there anyway to make it updateable?

                Comment

                • NeoPa
                  Recognized Expert Moderator MVP
                  • Oct 2006
                  • 32636

                  #9
                  I hope you're not easily embarrassed, but look back one post and follow the link.

                  Comment

                  • Catalyst159
                    New Member
                    • Sep 2007
                    • 111

                    #10
                    What do you mean? I did check out the link. Why would I be embarassed?

                    - Ok so I needed delete the linked table then re-link the table but this time choose the "id" field as a unique identifier.
                    Last edited by NeoPa; Feb 23 '12, 05:39 PM. Reason: Merged posts again.

                    Comment

                    • NeoPa
                      Recognized Expert Moderator MVP
                      • Oct 2006
                      • 32636

                      #11
                      Originally posted by Catalyst159
                      Catalyst159:
                      What do you mean? I did check out the link. Why would I be embarassed?
                      Because you asked a question in one post which had already been answered in the previous one. You may have some rationale for that, but this is a public forum and it doesn't look too clever ;-)

                      Comment

                      Working...