L
luna
sql query in code looks like this :-
sql = "INSERT INTO livetracker
(ID,MortgageSourced,PostalPackIssued,PostalPackReturned,SalesManager,Mortgag
eAdministrator,DateToMortgageAdmin,MortgageAppSubmitted,Lender,LendersRefere
nce,Solicitor,OfferIssued,CompCheckedBy,ToSales,CalledBy,MortgageResourced,C
allOutcome,OfferChecked) VALUES ('" + userid.Text.ToString + "' , " & msl +
" , " + pit + " , " + prt + " , '" + smo + "' , '" + ma + "' , " + dtma + "
, " + ms + " , '" + lend + "' , '" + lr + "' , '" + sol + "' , " + off + " ,
'" + comp + "' , " + tsl + " , '" + cc + "' , " + mr + " , '" + outc + "' ,
" + offchk + ");"
which outputs :
INSERT INTO livetracker
(ID,MortgageSourced,PostalPackIssued,PostalPackReturned,SalesManager,Mortgag
eAdministrator,DateToMortgageAdmin,MortgageAppSubmitted,Lender,LendersRefere
nce,Solicitor,OfferIssued,CompCheckedBy,ToSales,CalledBy,MortgageResourced,C
allOutcome,OfferChecked) VALUES ('99' , 03/02/2004 , 03/02/2004 , 03/02/2004
, '' , '48' , 03/02/2004 , 03/02/2004 , '' , '' , '' , , '48' , 03/02/2004
, '48' , 03/02/2004 , '' , 03/02/2004);
but in the sql table all the dates are 01/01/1900 (im working in british
date format)
incidently im unsure as to where the 48s are coming from either!!
thanks
mark
sql = "INSERT INTO livetracker
(ID,MortgageSourced,PostalPackIssued,PostalPackReturned,SalesManager,Mortgag
eAdministrator,DateToMortgageAdmin,MortgageAppSubmitted,Lender,LendersRefere
nce,Solicitor,OfferIssued,CompCheckedBy,ToSales,CalledBy,MortgageResourced,C
allOutcome,OfferChecked) VALUES ('" + userid.Text.ToString + "' , " & msl +
" , " + pit + " , " + prt + " , '" + smo + "' , '" + ma + "' , " + dtma + "
, " + ms + " , '" + lend + "' , '" + lr + "' , '" + sol + "' , " + off + " ,
'" + comp + "' , " + tsl + " , '" + cc + "' , " + mr + " , '" + outc + "' ,
" + offchk + ");"
which outputs :
INSERT INTO livetracker
(ID,MortgageSourced,PostalPackIssued,PostalPackReturned,SalesManager,Mortgag
eAdministrator,DateToMortgageAdmin,MortgageAppSubmitted,Lender,LendersRefere
nce,Solicitor,OfferIssued,CompCheckedBy,ToSales,CalledBy,MortgageResourced,C
allOutcome,OfferChecked) VALUES ('99' , 03/02/2004 , 03/02/2004 , 03/02/2004
, '' , '48' , 03/02/2004 , 03/02/2004 , '' , '' , '' , , '48' , 03/02/2004
, '48' , 03/02/2004 , '' , 03/02/2004);
but in the sql table all the dates are 01/01/1900 (im working in british
date format)
incidently im unsure as to where the 48s are coming from either!!
thanks
mark