Adodc1.recordset.addnew problem in vb6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    Adodc1.recordset.addnew problem in vb6.0

    Hello every body

    I have a problem.
    When i want to add a record. and its sub record an error is occured. "Operation canceled"
    I have made an record with reg no of 3
    and have to update its sub records like name, roll no, father name etc how can i do this.
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,


    MS has confirmed it is a bug and was fixed in the later ServicePacks,
    Resolution is, Before giving Addnew, Move to first record

    Say :
    ADODC1.RecordSe t.Move 0
    ADODC1.RecordSe t.AddNew

    Regards
    Veena

    Comment

    Working...