Bonjour tout le monde,
Je me demande si il y a un moyen d’executer une simple requete de selection en passant par :
Je l’ai essaye mais ca ne marche. Svp dites moi si il existe un autre moyen d’executer mon strSQL en passant par Application.DoCmdCode:Application.DoCmd.RunSQL
Code:
1
2
3
4
5
6
7
8 Sub SimpleSelect() Dim strSQL As String strSQL = "SELECT MyTable.* FROM MyTable " Application.DoCmd.RunSQL strSQL, True End Sub
Cordiallement,
Bonero.