Call EnregistTuple( _ "INSERT INTO table(nom_produit,fond) " & _ "Values(,'" & Me.structureproduit.TextMatrix(0, 4) & "','" & _ Me.structureproduit.TextMatrix(6, 4) + _ Me.structureproduit.TextMatrix(2, 4) + _ Me.structureproduit.TextMatrix(2, 4) * _ (Val(Me.tva.Text) / 100) + _ Me.structureproduit.TextMatrix(3, 4) + _ Me.structureproduit.TextMatrix(3, 4) * _ (Val(Me.tva.Text) / 100) & "')")
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionIf mois.Text <> "" Or annee.Text <> "" Or structureproduit.TextMatrix(1, 2) <> "" Or structureproduit.TextMatrix(1, 3) <> "" Or structureproduit.TextMatrix(1, 4) <> "" Then Call Connection_SGBD Call EnregistTuple("INSERT INTO structureDouala(nom_produit,mois,anne,prixproduit,cabotage,redevanceport,passage,fond,perequation,fraisgeneraux,fraisfinanciers,coulage,benefice,amortissemententretien,livraison,taxespeciale,margerevendeur) " & _ " Values('" & Me.structureproduit.TextMatrix(0, 2) & "','" & Me.mois.Text & "','" & Me.annee.Text & "','" & Me.structureproduit.TextMatrix(1, 2) & "', Me.structureproduit.TextMatrix(2, 2) , Me.structureproduit.TextMatrix(3, 2) , Me.structureproduit.TextMatrix(4, 2) , Me.structureproduit.TextMatrix(5, 2) " & _ " , Me.structureproduit.TextMatrix(6, 2) , Me.structureproduit.TextMatrix(7, 2) , Me.structureproduit.TextMatrix(8, 2) , Me.structureproduit.TextMatrix(9, 2) , Me.structureproduit.TextMatrix(10, 2) , Me.structureproduit.TextMatrix(11, 2) , Me.structureproduit.TextMatrix(12, 2) , Me.structureproduit.TextMatrix(13, 2) , Me.structureproduit.TextMatrix(14, 2) )") End If
If mois.Text <> "" Or annee.Text <> "" Or structureproduit.TextMatrix(1, 2) <> "" Or structureproduit.TextMatrix(1, 3) <> "" Or structureproduit.TextMatrix(1, 4) <> "" Then Call Connection_SGBD Call EnregistTuple("INSERT INTO structureDouala(nom_produit,mois,anne,prixproduit,cabotage,redevanceport,passage,fond,perequation,fraisgeneraux,fraisfinanciers,coulage,benefice,amortissemententretien,livraison,taxespeciale,margerevendeur) " & _ " Values('" & Me.structureproduit.TextMatrix(0, 2) & "' " & _ " ,'" & Me.mois.Text & "' " & _ " ,'" & Me.annee.Text & "' " & _ " ,'" & Me.structureproduit.TextMatrix(1, 2) & "' " & _ " , Me.structureproduit.TextMatrix(2, 2) " & _ " , Me.structureproduit.TextMatrix(3, 2) " & _ " , Me.structureproduit.TextMatrix(4, 2) " & _ " , Me.structureproduit.TextMatrix(5, 2) " & _ " , Me.structureproduit.TextMatrix(6, 2) " & _ " , Me.structureproduit.TextMatrix(7, 2) " & _ " , Me.structureproduit.TextMatrix(8, 2) " & _ " , Me.structureproduit.TextMatrix(9, 2) " & _ " , Me.structureproduit.TextMatrix(10, 2) " & _ " , Me.structureproduit.TextMatrix(11, 2) " & _ " , Me.structureproduit.TextMatrix(12, 2) " & _ " , Me.structureproduit.TextMatrix(13, 2) " & _ " , Me.structureproduit.TextMatrix(14, 2) )") End If
Dim req As String req="INSERT INTO structureDouala(nom_produit,mois,anne,prixproduit,cabotage,redevanceport,passage,fond,perequation,fraisgeneraux,fraisfinanciers,coulage,benefice,amortissemententretien,livraison,taxespeciale,margerevendeur) " & _ " Values('" & Me.structureproduit.TextMatrix(0, 2) & "','" & _ Me.mois.Text & "','" & _ Me.annee.Text & "','" & _ Me.structureproduit.TextMatrix(1, 2) & "'," & _ Me.structureproduit.TextMatrix(2, 2) & "," & _ Me.structureproduit.TextMatrix(3, 2) & "," & _ Me.structureproduit.TextMatrix(4, 2) & "," & _ Me.structureproduit.TextMatrix(5, 2) & "," & _ Me.structureproduit.TextMatrix(6, 2) & "," & _ Me.structureproduit.TextMatrix(7, 2) & "," & _ Me.structureproduit.TextMatrix(8, 2) & "," & _ Me.structureproduit.TextMatrix(9, 2) & "," & _ Me.structureproduit.TextMatrix(10, 2) & "," & _ Me.structureproduit.TextMatrix(11, 2) & "," & _ Me.structureproduit.TextMatrix(12, 2) & "," & _ Me.structureproduit.TextMatrix(13, 2) & "," & _ Me.structureproduit.TextMatrix(14, 2) & ")"