mannanaesc
Messages postés26Date d'inscriptionmercredi 9 avril 2008StatutMembreDernière intervention19 mai 2010
-
17 juin 2008 à 11:04
mannanaesc
Messages postés26Date d'inscriptionmercredi 9 avril 2008StatutMembreDernière intervention19 mai 2010
-
18 juin 2008 à 10:42
bj. jveu testerl'existance de deux codes de deux tables differentes sous access avec vb6 mé g pa arriver à le faire.svp aider moi. mon code est:
Set DBComar = OpenDatabase(App.Path & "\comar1.mdb")
Set RScomar = DBComar.OpenRecordset("Select * from immeuble, contrat")
Set SNcomar = DBComar.OpenRecordset("Select codim from immeuble")
Set SNcomar = DBComar.OpenRecordset("Select numcont from contrat")
RScomar.FindFirst "codim ='" & Text2.Text & "'"
If RScomar.NoMatch = False Then
RScomar.FindFirst "numcont =" & Text1.Text
If RScomar.NoMatch = False Then
MsgBox " Ce numero existe déjà. tapez un autre", vbInformation, "Information"
mannanaesc
Messages postés26Date d'inscriptionmercredi 9 avril 2008StatutMembreDernière intervention19 mai 2010 18 juin 2008 à 10:42
slt. jsé pourkoi ce bloc ne fonctionne pas?!! il maffiche comme erreur"non reconnue"
pourtant kil est fonctionnel dans un autre projet!!
Set dbcomar = OpenDatabase(App.Path & "\comar1.mdb")