Search found 22 matches: adscreatesqlstatement

Return to advanced search

Con la duda aun, Harbour 3.0.0 ó 3.2.0?

... Error: Unresolved external 'AdsStmtSetTableLockType' referenced from I:\HARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsCreateSQLStatement' referenced from I:\HARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsStmtSetTableType' referenced from I:\HARBOUR\LIB\RDDADS.LIB|adsfunc ...
by noe aburto
Tue Aug 25, 2020 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Con la duda aun, Harbour 3.0.0 ó 3.2.0?
Replies: 2
Views: 731

Re: Expertos en ADS, como mejorar obtencion del CURSOR

... por responder Lo que quiero es "ANIDAR" el ADSExecuteSQLDirect() En el ejempo que pone Javier, lo que quiero hacer es:     Select 0    ADSCreateSQLStatement("MIALIAS",3)    cSQL := "SELECT {static} * from ARTICULOS WHERE Codigo='0001'; "    ADSExecuteSQLDirect(cSQL)  ...
by RSalazarU
Thu Jul 30, 2015 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Expertos en ADS, como mejorar obtencion del CURSOR
Replies: 4
Views: 720

Re: O.T. Consulta ADS

... el SET DELETED ON) Respuesta: CASO 1: Tienes una consulta como: "SELECT * FROM CLIENTES" y defines que el resultado sera un ADS_CDX con: ADSCreateSQLStatement( "SQLSele", ADS_CDX , h0:hConnect ) resultado: TODO OK!!! CASO 2: Si tu consulta es algo asi como: "SELECT * FROM ...
by RSalazarU
Thu Nov 06, 2014 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: O.T. Consulta ADS (SOLUCIONADO)
Replies: 4
Views: 560

Re: No me deja crear un index en ADS via Internet.

Este es el codigo que genero para mi Query: cAlias := "CONSIG" DbSelectArea( 0 ) AdsCreateSQLStatement(cAlias,2) cQuery := "SELECT PROD_CON.ID_PROD, PROD_CON.REFEREN, PROD_CON.STATUS, CAT_PROD.NOM_PROD From PROD_CON, CAT_PROD WHERE CAT_PROD.ID_PROD = PROD_CON.ID_PROD" ...
by Giovany Vecchi
Mon Aug 18, 2014 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No me deja crear un index en ADS via Internet.
Replies: 4
Views: 661

Re: No me deja crear un index en ADS via Internet.

Este es el codigo que genero para mi Query: cAlias := "CONSIG" DbSelectArea( 0 ) AdsCreateSQLStatement(cAlias,2) cQuery := "SELECT PROD_CON.ID_PROD, PROD_CON.REFEREN, PROD_CON.STATUS, CAT_PROD.NOM_PROD From PROD_CON, CAT_PROD WHERE CAT_PROD.ID_PROD = PROD_CON.ID_PROD" ...
by Alex.Salas
Mon Aug 18, 2014 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No me deja crear un index en ADS via Internet.
Replies: 4
Views: 661

O.T. - ADSSQL

... 0 )   AdsConnect(  h0:oRut:oMG:hIni["CAMINOS"]["bdatos"], ADS_LOCAL_SERVER )   if !ADSCreateSQLStatement( "SQLArt", ADS_CDX )      MsgStop( "Fallo en la conexión a "+h1["Articulos"]:cAlias, ...
by MarioG
Mon Nov 19, 2012 1:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: O.T. - ADSSQL
Replies: 7
Views: 1566

Re: ADS -> AdsRegCallBack()

... FUNCTION leggi_dati(ometer) LOCAL stringa_sql oMeter:SetRange( 1, 100 ) stringa_sql = "SELECT * from bollette order by utente" Select 0 ADSCReateSqlStatement("Utenza", 1) Register_CallBack( { | nPercent | agg_meter(@ometer, nPercent) } ) ADSExecuteSQLDirect(stringa_sql) Unregister_callback() ...
by Massimo Linossi
Fri Aug 10, 2012 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADS -> AdsRegCallBack()
Replies: 13
Views: 4905

Re: TxBrowse y ADS query - Necesito Ayuda

Rolando, como te explico tu tocayo prueba tan solo esto en tu código (claro con todo lo previo como ADSCreateSQLStatement ......) ADSExecuteSQLDirect( cConsulta1 )xbrowse()  veras la magia del RDDADS, ya que una consulta la devuelve como un cursor (qeu puede ...
by Marcelo Via Giglio
Tue Jul 17, 2012 6:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TxBrowse y ADS query - SOLUCIONADO
Replies: 19
Views: 5392

Re: How to use AX_GetActivityInfo() of ADS V.9

Dear Reinaldo, I try this but it cannot use AdsCloseSQLStatement( cAlias ) to close the cursor and I cannot Create another ADSCreateSQLStatement() again. Function  ...()cAlias  := "cursor"cSql        := "EXECUTE PROCEDURE sp_mgGetInstallInfo()"ADSCreateSQLStatement( ...
by dutch
Mon Jul 16, 2012 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use AX_GetActivityInfo() of ADS V.9
Replies: 19
Views: 5061

Re: How to use AX_GetActivityInfo() of ADS V.9

... to get a cursor with the list of connected users. Like this:    LOCAL cSql := "EXECUTE PROCEDURE sp_mgGetConnectedUsers()"  Using AdsCreateSqlStatement() and AdsExeucteSqlDirect() you can execute this sql. Reinaldo.
by dutch
Thu Jul 12, 2012 4:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use AX_GetActivityInfo() of ADS V.9
Replies: 19
Views: 5061

Re: How to use AX_GetActivityInfo() of ADS V.9

... cursor with the list of connected users. Like this:    LOCAL cSql := "EXECUTE PROCEDURE sp_mgGetConnectedUsers()"  Using AdsCreateSqlStatement() and AdsExeucteSqlDirect() you can execute this sql. Reinaldo.
by reinaldocrespo
Sat Jul 07, 2012 10:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use AX_GetActivityInfo() of ADS V.9
Replies: 19
Views: 5061

Re: How to Use SQL commands with ADS?

Hi Armando,

Try this:

Select 0
ADSCReateSqlStatement("hStatement",1)
ADSExecuteSQLDirect("CREATE TABLE Meses( " +;
"Numero Numeric(3,0)," +;
"Descripcion Char(10)) IN DATABASE")

Bye.
Giuliano
by giuliano
Thu Nov 18, 2010 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Use SQL commands with ADS?
Replies: 5
Views: 970

Erro RDDADS

... Error: Unresolved external 'AdsStmtSetTableLockType' referenced from C:\FIVETECH\XHARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsCreateSQLStatement' referenced from C:\FIVETECH\XHARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsStmtSetTableType' referenced from ...
by jufer
Sun Dec 20, 2009 3:31 pm
 
Forum: All products support
Topic: Erro RDDADS
Replies: 3
Views: 2500

Asignacion de alias para SQL sobre ADS

... primero toca crearles una conexion previa..por ejemplo yo usaria estas instrucciones: 1. RUTABUS:="D:\mistablas\" 2. s:=ADSCONNECT(RUTABUS) 3: h:=ADSCREATESQLSTATEMENT("sqlalias",3) 4. ADSEXECUTESQLDIRECT(cSQL) ... sqlalias->(DBCLOSEAREA()) ADSDISCONNECT(ADSGETCONNECTIONHANDLE()) Esto me implica ...
by BenD
Thu Jan 31, 2008 1:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Asignacion de alias para SQL sobre ADS
Replies: 1
Views: 825

SQL de ADS

... el area de trabajo (alias) que utilice antes, si no utilizo tablas temporales todo ok. Para la ejecucion de la sentencias SQL hago lo siguiente ADSCreateSQLStatement( "SQLarea", 3 ) AdsExecuteSQLDirect( consulta ) si el resultado es un cursor luego de utilizarlo hago ("SQLarea") -> ( DBCLOSEAREA() ...
by Marcelo Via Giglio
Tue Mar 06, 2007 7:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SQL de ADS
Replies: 2
Views: 1120
Next

Return to advanced search