>-----Original Message----- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >Sent: Sunday, October 18, 2009 4:06 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] SqlMix and dbcreated
Hi :) >nConnection1 := RDDINFO(RDDI_CONNECT, ...) >nConnection2 := RDDINFO(RDDI_CONNECT, ...) > >DBUSEAREA(..., nConnection1) In dbUseArea nConnection can be on 8 item/position. That is nowhere in the documentation Afther this I can inserted after dbAppend() and RDD_INFO( RDD_EXECUTE, ...) >> INSERT INTO posrednik values >> (0,0,'','','','91020403469','','','',Null,'','','','','','') Insert can be without semocolon on end. >RDDI_ERROR, RDDI_ERRORNO after query execution. Its return 1, but records inserted :) Where can I to read the meaning of return ? Where can I find an example how full use of them ? I use now : ? RDDINFO( RDDI_EXECUTE, insert, 'SQLMIX', connect) Or ? RDDINFO( RDDI_EXECUTE, insert, 'SQLMIX') In both cases records are inserted, with or without RDDINFO(RDDI_EXECUTE, "commit", 'SQLMIX') after this (autocommit ?). But here I do not know the exact positioning parameters. For example, how do I can end a call the nConnection ? Maybe rddInfo( RDDI_DISCONNECT, nConnection), but after this new connection is == n_old_Connectiom + 1, and I'm not sure that the old has been closed. How to check if the connection nConnection is [still] active? Regards, Marek Horodyski _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour