je voudrais fair un trie sur un champs precie de cette requette mais je ne
sais pas comment faire, un peut d'aide serais bien venu.
le trie ceu ferrait sur le critrére [lba_famille].cdfer comment l'integre
dans ceux meaurceaux de code.
Private Sub Chapitre_AfterUpdate()
Dim strSQL5 As String
Dim chap As Variant
chap = Me!Chapitre
strSQL5 = "Select * from [LBA_FAMILLE] where
([LBA_FAMILLE].IdChapitre)=" & chap
Me!Famille.RowSource = "Table/Query"
Me!Famille.RowSource = strSQL5
End Sub
chap = Me!Chapitre strSQL5 = "Select * from [LBA_FAMILLE] where ([LBA_FAMILLE].IdChapitre ORDER by [lba_famille].cdfer)=" & chap
Me!Famille.RowSource = "Table/Query" Me!Famille.RowSource = strSQL5 End Sub
Ca marche ca??
Yann
non mais merci jais trouver ca resemble a ca strSQL5 = "SELECT * FROM [LBA_FAMILLE] WHERE (LBA_FAMILLE.idchapitre) = " & chap & " ORDER BY LBA_FAMILLE.CdFer"
"Doft" a écrit dans le message de news: 094a01c3af4a$61acef70$
chap = Me!Chapitre strSQL5 = "Select * from [LBA_FAMILLE] where ([LBA_FAMILLE].IdChapitre ORDER by [lba_famille].cdfer)=" & chap
Me!Famille.RowSource = "Table/Query" Me!Famille.RowSource = strSQL5 End Sub
Ca marche ca??
non
mais merci jais trouver
ca resemble a ca
strSQL5 = "SELECT * FROM [LBA_FAMILLE] WHERE (LBA_FAMILLE.idchapitre) = " &
chap & " ORDER BY LBA_FAMILLE.CdFer"
"Doft" <anonymous@discussions.microsoft.com> a écrit dans le message de
news: 094a01c3af4a$61acef70$a401280a@phx.gbl...
chap = Me!Chapitre
strSQL5 = "Select * from [LBA_FAMILLE] where
([LBA_FAMILLE].IdChapitre ORDER by [lba_famille].cdfer)="
& chap
Me!Famille.RowSource = "Table/Query"
Me!Famille.RowSource = strSQL5
End Sub
non mais merci jais trouver ca resemble a ca strSQL5 = "SELECT * FROM [LBA_FAMILLE] WHERE (LBA_FAMILLE.idchapitre) = " & chap & " ORDER BY LBA_FAMILLE.CdFer"
"Doft" a écrit dans le message de news: 094a01c3af4a$61acef70$
chap = Me!Chapitre strSQL5 = "Select * from [LBA_FAMILLE] where ([LBA_FAMILLE].IdChapitre ORDER by [lba_famille].cdfer)=" & chap
Me!Famille.RowSource = "Table/Query" Me!Famille.RowSource = strSQL5 End Sub