I can't write to my Data base

Discussion in 'Software' started by chris6690, Jun 4, 2009.

  1. chris6690

    chris6690 Private E-2

    my code vb 6.0 :


    Private Sub cmd_add_Click() ' add new user i get a runtime error here
    dba_User.Recordset.AddNew ' and it wont write to the dba file
    End Sub

    Private Sub cmd_delete_Click()
    dba_User.Recordset.Delete
    End Sub

    Private Sub cmd_Last_Click()
    On Error GoTo errrun
    dba_User.Recordset.MovePrevious
    Exit Sub
    errrun:
    Resume Next
    End Sub

    Private Sub cmd_Next_Click()
    On Error GoTo errrun
    dba_User.Recordset.MoveNext
    Exit Sub
    errrun:
    Resume Next
    End Sub

    Private Sub cmd_UpDate_Click()
    dba_User.Recordset.Update
    End Sub
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds