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