Private Sub cmdsalva_Click()
If (txtdescrizione.Text <> "") And (txtriferimento.Text <> "") And (cmbpagamento.Text <> "") And (cmbrisorsa.Text <> "") And (cmbversamenti.Text <> "") And (cmbprelievi.Text <> "") And (txtentrata.Text <> "") And (txtuscita.Text <> "") Then
'codice che le inserisce nel datagrid
Else
MsgBox "Alcune text sono incomplete, ricontrollare!"
End If
If MsgBox("salvare i dati?", vbYesNo + vbQuestion) = vbNo Then
Cancel = True
End If
Dim sql As String
|