disumano
27-05-2005, 15:04
se eseguo questo codice in vba
Private Sub CasellaCombinata3_Click()
Dim strsql As String
strsql = "SELECT * FROM attive where cliente ='" & CasellaCombinata3.text & "';"
DoCmd.RunSQL strsql
End Sub
ho questo errore:
Errore di runtime 2342:
Un'azione eseguiSQL richiede un argomento costituito da un'istruzione sql
come risolvo?
grazie
Private Sub CasellaCombinata3_Click()
Dim strsql As String
strsql = "SELECT * FROM attive where cliente ='" & CasellaCombinata3.text & "';"
DoCmd.RunSQL strsql
End Sub
ho questo errore:
Errore di runtime 2342:
Un'azione eseguiSQL richiede un argomento costituito da un'istruzione sql
come risolvo?
grazie