Yo,
I have a problem inserting into my database. When i try the following:
"INSERT INTO TBL_Bestanden_Z oeken (Id,docnr,klnr, klnaam,datum,be drag,type)
VALUES
('12345678-1234-1234-1234-123456789123',' VF-1234567','12345 ','Frederik','1 5-01-2006','125','VF ')"
it works.
But I get my values from a method:
Public Sub DB_Wegschrijven (ByVal Id As String, ByVal KlantNummer As String,
ByVal KlantNaam As String, ByVal DocumentNummer As String, ByVal
DocumentDatum As String, ByVal DocumentBedrag As String, ByVal DocumentType
As String)
So when i try the following:
"INSERT INTO TBL_Bestanden_Z oeken (Id,docnr,klnr, klnaam,datum,be drag,type)
VALUES(Id, DocumentNummmer , KlantNummer, KlantNaam, DocumentDatum,
DocumentBedrag, DocumentType)" it doesn't work.
What am I doing wrong???
Fré
I have a problem inserting into my database. When i try the following:
"INSERT INTO TBL_Bestanden_Z oeken (Id,docnr,klnr, klnaam,datum,be drag,type)
VALUES
('12345678-1234-1234-1234-123456789123',' VF-1234567','12345 ','Frederik','1 5-01-2006','125','VF ')"
it works.
But I get my values from a method:
Public Sub DB_Wegschrijven (ByVal Id As String, ByVal KlantNummer As String,
ByVal KlantNaam As String, ByVal DocumentNummer As String, ByVal
DocumentDatum As String, ByVal DocumentBedrag As String, ByVal DocumentType
As String)
So when i try the following:
"INSERT INTO TBL_Bestanden_Z oeken (Id,docnr,klnr, klnaam,datum,be drag,type)
VALUES(Id, DocumentNummmer , KlantNummer, KlantNaam, DocumentDatum,
DocumentBedrag, DocumentType)" it doesn't work.
What am I doing wrong???
Fré
Comment