help/sos!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siddharth23c
    New Member
    • Feb 2007
    • 2

    #1

    help/sos!

    i have just started on vb,ihave encountered a problem,i have connected my form on student enrolment to ms access but when i try to add a record through form on run time it overwrites the previous record instead of adding a new,though i am using data1.recordsou rce.addnew property,where data1 is the name of data control.help to remove the problem
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    Replace Recordsource like:
    Code:
    data1.Recordset.AddNew
    ...
    data1.Recordset.Update

    Comment

    • willakawill
      Top Contributor
      • Oct 2006
      • 1646

      #3
      Hi. It is very important that you post the code that you have so far so that the experts here are not guessing blind. thanks

      Comment

      Working...