hi there
what am i doing wrong???? something simple which i can find
plz help
Private Sub cdmadd_Click()
Propmt$ = "Enter the new reocrd and then click the right arrow button"
Reply = MsgBox(Prompt$, vbOKCancel, "Add Record")
If Reply = vbOK Then
txttilte.SetFocus
Data1.Recordset.AddNew
End If
End Sub
Private Sub cmddelete_Click()
Prompt$ = "Dp you really want to delete this reocrd"
Reply = MsgBox(Prompt$, vbOKCancel, "Delete Record")
If Reply = vbOK Then
Data1.Recordset.Delete
Data1.Recordset.MoveFirst
End If
End Sub
Private Sub cmdexit_Click()
End
End Sub
Private Sub Form_Load()
End Sub
Private Sub txtcost_Change()
Form1.txtcost.Text = Format(txtcost.Text, "Currency")
End Sub
i have also atteched the whole project
what am i doing wrong???? something simple which i can find
plz help
Private Sub cdmadd_Click()
Propmt$ = "Enter the new reocrd and then click the right arrow button"
Reply = MsgBox(Prompt$, vbOKCancel, "Add Record")
If Reply = vbOK Then
txttilte.SetFocus
Data1.Recordset.AddNew
End If
End Sub
Private Sub cmddelete_Click()
Prompt$ = "Dp you really want to delete this reocrd"
Reply = MsgBox(Prompt$, vbOKCancel, "Delete Record")
If Reply = vbOK Then
Data1.Recordset.Delete
Data1.Recordset.MoveFirst
End If
End Sub
Private Sub cmdexit_Click()
End
End Sub
Private Sub Form_Load()
End Sub
Private Sub txtcost_Change()
Form1.txtcost.Text = Format(txtcost.Text, "Currency")
End Sub
i have also atteched the whole project