Hi,
I'm trying to send data by code into an external DB. Actually I try to expand a already created modification but I occoured problems (creator isn't avaliable).
This is a sample where the error occours. It catches a error by: exceptionTextFallThrough();
No data is going out into db using this but having the same code for custinvoicejour tables does work here. Debugging didnt tell me much here.
private void insertProjInvoice()
{
System.Data.OleDb.OleDbCommand cmdInsertProjJour, cmdInsertProjTrans;
this.setInsertProjInvoiceJour();
cmdInsertProjJour = objConn.CreateCommand();
cmdInsertProjJour.set_CommandText(sqlProjJour);
cmdInsertProjJour.ExecuteReader();
while select ProjInvoiceItem
where Projinvoiceitem.projinvoiceid == ProjInvoiceJour.ProjInvoiceId
&& ProjInvoiceItem.InvoiceDate == ProjInvoiceJour.InvoiceDate
{
this.setInsertProjInvoiceTrans(ProjInvoiceItem);
cmdInsertProjTrans = objConn.CreateCommand();
cmdInsertProjTrans.set_CommandText(sqlTrans);
cmdInsertProjTrans.ExecuteReader(); //