Ouvrir un état selon un critère
Bonjour,
J'ai besoin de vos bons conseils ..
J'ai créé une base Access avec une dizaine de requêtes,
Je voudrais alors ouvrir un état qui reprends les résultats de mes requêtes selon un critère, à savoir tous les résultats concernant l'agence X,
J'ai créé un formulaire avec une liste déroulante et l'état final mais je n'arrive pas à coder pour ouvrir l'état en sélectionnant l'agence X ou Y,
La seule chose que j'ai pu coder c'est l'ouverture de l'état :
Code:
1 2 3
| Private Sub Commande0_Click()
DoCmd.OpenReport "BU", acViewPreview
End Sub |
Je débute seulement dans le codage sur access ...
Merci d'avance pour vos lumières !!! ;)