Search found 27 matches: adsexecutesqldirect

Return to advanced search

Con la duda aun, Harbour 3.0.0 ó 3.2.0?

... Error: Unresolved external 'AdsCloseSQLStatement' referenced from I:\HARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsExecuteSQLDirect' referenced from I:\HARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsPrepareSQL' 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: 729

Re: Disable Advantage error message dialogs

... click on the OK button to close it. So the program execution is stopped until you close the error message. And this happens also when you use the AdsExecuteSQLDirect function. Thanks a lot Massimo
by Massimo Linossi
Fri Dec 15, 2017 7:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Advantage error message dialogs
Replies: 12
Views: 1461

Re: Create a file with a stored procedure in Advantage Database

... class to execute SQL statements with ADS. You could simply use ACE API functions. To execute a sql statement using the API simply call function AdsExecuteSqlDirect( cSql ), where cSql is a string parameter with the sql you want to execute. The class itself is only a wrapper to ease the use of ...
by reinaldocrespo
Sat Jan 21, 2017 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a file with a stored procedure in Advantage Database
Replies: 21
Views: 6436

Re: Expertos en ADS, como mejorar obtencion del CURSOR

Rinaldo, Javier: Gracias 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 ...
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

Expertos en ADS, como mejorar obtencion del CURSOR

... AM", //CIERRA el cursor   AdsExecuteSQL( hSQL, &hCursor ); AdsCloseTable( hCursor ); AdsClearSQLParams( hSQL ); AdsExecuteSQLDirect( hSQL, "Select lastname from Demo10", &hCursor ); //CREA otro cursor, sin cerrar el AREAAdsGotoTop( hCursor ...
by RSalazarU
Tue Jul 28, 2015 6:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Expertos en ADS, como mejorar obtencion del CURSOR
Replies: 4
Views: 720

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

... 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" AdsExecuteSqlDirect(cQuery) Index On STRZERO(ID_PROD,5) TAG "ID" TO (cAlias) Select(cAlias) (cAlias)->(OrdSetFocus("ID")) (cAlias)->(dbGoTop()) ...
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: 651

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

... 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" AdsExecuteSqlDirect(cQuery) Index On STRZERO(ID_PROD,5) TAG "ID" TO (cAlias) Select(cAlias) (cAlias)->(OrdSetFocus("ID")) (cAlias)->(dbGoTop()) ...
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: 651

Re: SQLADS - Que hago mal

Hola Al parecer esta correcto, ahora habria que ver que error te esta dando ADS coloca esta instruccion despues de AdsExecuteSqlDirect MsgInfo("error AdsExecuteSqlDirect(cSql)" + CRLF + "Error:"+cValtochar( AdsGetLastError() ) ) y veamos ...
by Patricio Avalos Aguirre
Tue May 07, 2013 2:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SQLADS - Que hago mal (Solucionado)
Replies: 8
Views: 1218

Re: ADS -> AdsRegCallBack()

... order by utente" Select 0 ADSCReateSqlStatement("Utenza", 1) Register_CallBack( { | nPercent | agg_meter(@ometer, nPercent) } ) ADSExecuteSQLDirect(stringa_sql) Unregister_callback() browse() return nil ******************************************* STATIC FUNCTION agg_meter(ometer, ...
by Massimo Linossi
Fri Aug 10, 2012 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADS -> AdsRegCallBack()
Replies: 13
Views: 4879

Re: Client Server options

... los datos del DBF temporal creado por ADS con el resultado de la consulta, ¿debo repetir la operación o hay algo parecido a un Refresh() del ADSExecuteSQLDirect( cSql )?. Muchas gracias. function Test_SQL()   LOCAL cSql   := ""   LOCAL aArray := ...
by lucasdebeltran
Mon May 28, 2012 7:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Client Server options
Replies: 78
Views: 25017

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

Re: I'm looking for some advice/suggestions.

Fraxi; Yes you are right. I'm simplifying. I'm sorry. I have a function based on ADSExecuteSQLDirect() that returns an array instead of a cursor with the values. *-------------------------------------------------------------------------------------------------------------------------------function ...
by reinaldocrespo
Fri Jan 15, 2010 3:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm looking for some advice/suggestions.
Replies: 6
Views: 1178

Re: I'm looking for some advice/suggestions.

... Would work with ADS, as well as: cSql := "SELECT field1, field2 from table where keyfield = '" + cKey + "'"aResultSet := ADSexecuteSQlDirect( cSql )  ... Hello Reinaldo, aResultSet := ADSexecuteSQlDirect( cSql ) on which version of ADS this returns an array ...
by fraxzi
Fri Jan 15, 2010 12:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm looking for some advice/suggestions.
Replies: 6
Views: 1178

Re: Array content to ADS SQL statement

... Regards Anser Hello Anser, The array contains the field (column) or values. Is there a better approach than iterating AdsExecuteSQLDirect() ? Regards, Fraxzi
by fraxzi
Sat Jan 09, 2010 12:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array content to ADS SQL statement
Replies: 4
Views: 887

Erro RDDADS

... Error: Unresolved external 'AdsCloseSQLStatement' referenced from C:\FIVETECH\XHARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsExecuteSQLDirect' referenced from C:\FIVETECH\XHARBOUR\LIB\RDDADS.LIB|adsfunc Error: Unresolved external 'AdsPrepareSQL' referenced from C:\FIVETECH\XHARBOUR\LIB\RDDADS.LIB|adsfunc ...
by jufer
Sun Dec 20, 2009 3:31 pm
 
Forum: All products support
Topic: Erro RDDADS
Replies: 3
Views: 2499
Next

Return to advanced search