Set gdbODBC = OpenDatabase("", False, dbDriverNoPrompt, "ODBC;DSN=Sample C/ODBC 32 bit;CSF=Yes;SName=XXX;NType=tcp;Database=XXX.fdb;PPath=c:\Archivos de programa\Navision Financials;OPT=Text;IT=a-z,A-Z,0-9,_;QTYesNo=Yes;RO=Yes;CC=Yes;BE=Yes;UID=XXXXX;PWD=XXXX;CN=XXXXXX;SERVER=y;")When I'm done reading data...
gdbODBC.Close SET gdbODBC = NothingWhile the program is running 1 of only 5 sessions of NF is used.
Comments
I have observed that the session is finally released when a exit Excel.
Can anyone figure out how can I release programatically the session without having to exit Excel?
I would use ADO instead, but I am not sure it will help.
Naji Shaman
http://www.autocloseidle.com