FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Ads y SQLs..
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Ads y SQLs..
Posted: Wed Feb 21, 2007 01:31 PM
Estimados del Foro y Usuarios ADS Server

Estoy utilizando estas funciones de SQL y funciona bien el problema es cuando abro el ADV DATA ARQUITEC Y diccionario de datos queda tamada la base MOVI_MON.DBF

Hay alguna manera de cerrar o siempre quedan abierta??

	cSql := "SELECT DISTINCT ANOCORREJI FROM MOVI_MON"

	if !AdsCreateSqlStatement("BASE", 2 )
		alert( "error AdsCreateSqlStatement()")
	endif

	if !AdsExecuteSqlDirect(cSql)
		Alert( "error AdsExecuteSqlDirect(cSql)" )
	endif

     bla bla
     bla
    
    close BASE

RETURN


Saludos
Patricio
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Ads y SQLs..
Posted: Wed Mar 07, 2007 08:45 PM

Me respondo

AdsCloseCachedTables()

Saludos
Patricio

Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl

Continue the discussion