Hi,

Yes, of cause. You just have to pass a connection parameter to RDDINFO(), DBUSEAREA(), etc. Or select current connections using RDDI_CONNECTION.

Do not understand :(
For example I have 2 databases :
1 - oracle 2 - sqlserwer


nConnection1 := RDDINFO(RDDI_CONNECT, ...)
nConnection2 := RDDINFO(RDDI_CONNECT, ...)

DBUSEAREA(..., nConnection1)
...
DBUSEAREA(..., nConnection2)
...
RDDINFO(RDDI_CONNECTION, nConnection1)
DBUSEAREA(...)  // nConnection1


And another problem :(
Now without problems create I tables, but this code :


Are not inserted records.
Commands caught from app, f.e.:

INSERT INTO posrednik values
(0,0,'','','','91020403469','','','',Null,'','','','','','')

Are corretctly executed from toad or another tools, and records are
inserted.
I do not know where to find the cause :(

It should work the same. Are these queries (generated from your code and tested using another tools) exactly the same? Watch the values of RDDI_ERROR, RDDI_ERRORNO after query execution.


Regards,
Mindaugas

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to