cs_xdiethank
Messages postés4Date d'inscriptionjeudi 1 janvier 2004StatutMembreDernière intervention15 mai 2006
-
1 mai 2006 à 15:39
cs_xdiethank
Messages postés4Date d'inscriptionjeudi 1 janvier 2004StatutMembreDernière intervention15 mai 2006
-
2 mai 2006 à 11:25
Bonjours à tous,
je programme en ce moment un logiciel de gestion de cave à vin.
Mais je bloque là. Voici le code qui me pose probleme.
Set req_ent = db.OpenRecordset("SELECT * FROM TAB_DEVIS Where Categorie
and Appellation and Cru and Titre and Millesime and Contenant and
Fournisseur and Prix LIKE '" &
BCategorie.List(BCategorie.ListIndex) & "' and '" &
BAppellation.List(BAppellation.ListIndex) & "' and '" &
BCru.List(BCru.ListIndex) & "' and '" &
BTitre.List(BTitre.ListIndex) & "' and '" &
BFournisseur.List(BFournisseur.ListIndex) & "' and '" &
Bcontenant.List(Bcontenant.ListIndex) & "' and '" &
BMillesime.List(BMillesime.ListIndex) & "' and '" & leprix.Text
& "'")
If req_ent.BOF Then
db.Execute ("UPDATE TAB_DEVIS Set Solde = Solde + ('" &
laquantite & "') WHERE Categorie and Appellation and Cru and Titre
and Millesime and Contenant and Fournisseur and Prix LIKE '" &
BCategorie.List(BCategorie.ListIndex) & "' and '" &
BAppellation.List(BAppellation.ListIndex) & "' and '" &
BCru.List(BCru.ListIndex) & "' and '" &
BTitre.List(BTitre.ListIndex) & "' and '" &
BFournisseur.List(BFournisseur.ListIndex) & "' and '" &
Bcontenant.List(Bcontenant.ListIndex) & "' and '" &
BMillesime.List(BMillesime.ListIndex) & "' and '" & leprix.Text
& "'")