cs_robben
Messages postés5Date d'inscriptionjeudi 2 juin 2005StatutMembreDernière intervention27 juin 2005
-
22 juin 2005 à 11:10
cs_robben
Messages postés5Date d'inscriptionjeudi 2 juin 2005StatutMembreDernière intervention27 juin 2005
-
22 juin 2005 à 13:43
salut,
Je fais une application sous vb6 et je voudrais supprimer des tuples d'une table à partir d'un requete mais je ne sais pas comment faire.
voila ce que j'ai fait :
reqsem = "select heurenum from heure
where semnum = " & sem & " "
Set Creqsem = db.OpenRecordset(reqsem)
If Not Creqsem.BOF Then
Creqsem.MoveFirst
Do While Not Creqsem.EOF
numheure = Creqsem!heurenumreqprof "delete from faire where profnum " & numprof & " and heurenum = " & numheure & " "
Set Creqprof = db.OpenRecordset(reqprof)
If Not Creqprof.BOF Then
Creqprof.MoveFirst
End If
Creqprof.Close
Creqsem.MoveNext
Loop
End If
Creqsem.Close