hi all
my problem is how to make mshflexgrid refresh when I delete records ?
here are code in a form delete event:
I really appreciate if anyone can help meVB Code:
Private Sub cmdDelete_Click() Dim msql As String Dim Delete As String con_cashreg.BeginTrans Delete = MsgBox("Are you really to delete???", vbYesNo + vbCritical, "Delete") If Delete = vbYes Then msql = "delete * from invoicedetail" con_cashreg.Execute (msql) con_cashreg.CommitTrans Else con_cashreg.CommitTrans End If End Sub
thanks and happy new year 2007




support clasicVB6
Reply With Quote