Search found 33 matches: putvalue

Return to advanced search

Re: Reason for closing DBF file

... FUENTES\COMUNES\logrdd.prg(407) Error E0059 Invalid SWITCH Constant 'RECALL'. FUENTES\COMUNES\logrdd.prg(410) Error E0059 Invalid SWITCH Constant 'PUTVALUE'. FUENTES\COMUNES\logrdd.prg(414) Error E0059 Invalid SWITCH Constant 'ZAP'.
by russimicro
Fri Sep 15, 2023 11:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1160

Re: Mysql (Result a Array en C) solicitud de ayuda.

casi en forma similar, tengo la funcion que pasa a tabla, usando el api de harbour, ya me crea la tabla con las respectivas columnas, y agrego los registos, pero igual que el caso anterior deseo saber como pasar los datos segun su tipo a un PHB_ITEM para poder usar la funcion SELF_PUTVALUE( pArea, u...
by carlos vargas
Mon Mar 01, 2021 5:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql (Result a Array en C) solicitud de ayuda.
Replies: 7
Views: 577

Re: ADORDD FAQs

Prueba a hacer: MsgInfo( Obr->ob_fecini ) MsgInfo( Date() ) Obr->ob_fecini:= Date() PRUEBA --------- MsgInfo( Obr->ob_fecini ) -->>>>> 0d19890215 MsgInfo( Date() ) --->>>>>>>>> 0d20160510 Obr->ob_fecini:= Date() ---->>>>> error.lo...
by gautxori
Tue May 10, 2016 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

Gracias por tu respuesta Armando, pero no va tampoco, por refrescar el problema. he hecho varias pruebas pero lo resumo en dos: 1ª PRUEBA sin tocar el código inicial Columna implicada Obr->ob_fecini:=cob_fecini static FUNCTION Grabar()            If cOpcion="A"         APPEND BL...
by gautxori
Sun May 08, 2016 5:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

Bueno ya he terminado con el cambio de equipo, que me ha tenido liado Revisando mensaje por ahí no veo como hacer la conversión de la fecha que me viene en formato 0dYYYMMDD a YYYY-MM-DD que es como me funcione en mYSQL si hago esta update a "pelo" ---Mysql UPDATE EMPRE01.APUNTES SET `AP_F...
by gautxori
Mon May 02, 2016 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

Puedes copiar aqui el código que hay en adordd.prg function ADO_PUTVALUE( 1944 ) ?
by Antonio Linares
Sat Apr 23, 2016 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: Nuevo ADORDD

New build adordd ver 1.0 at https://github.com/AHFERREIRA/adordd.git Corrected new Bugs due to changes previous build: 1) ADO_SQLSTRU with firebird numeric fields precision fieldlen was wrong 2) ADO_FIELDSTRUCT integers doesnt take any extra position. 3) ADO_PUTVALUE trim spaces to check data width ...
by AHF
Tue Dec 08, 2015 3:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo ADORDD
Replies: 55
Views: 16562

Re: ADO RDD xHarbour

New build adordd ver 1.0 at https://github.com/AHFERREIRA/adordd.git Corrected new Bugs due to changes previous build: 1) ADO_SQLSTRU with firebird numeric fields precision fieldlen was wrong 2) ADO_FIELDSTRUCT integers doesnt take any extra position. 3) ADO_PUTVALUE trim spaces to check data width ...
by AHF
Tue Dec 08, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

Gunther,

I see it now.
The app I m using does not accept single quotes in fields because of some xml extraction.

Try with this in ado_putvalue

xValue := '"'+xValue+'"'

Instead of xValue := "'"+xValue+"'"
by AHF
Fri Oct 23, 2015 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

(1) REPLACE FIRST WITH "Test''Pieter" //gives Test'Pieter (2) //I think this ' is the same as my previous post. (I copied your code to my testapp) REPLACE FIRST WITH "Test'Pieter" Gives: Application =========== Path and name: C:\Pieter\LeerOmgevingXharbour\learn-database.exe (32 ...
by pieter
Thu Sep 24, 2015 1:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

Hello Antonio F, I am making progress with my main program with ADORDD. But I got a problem with ' (apostrof) Do you think there is still a way to use ' (apostrof) in a program? Example testprogram USE CUSTOMER APPEND BLANK REPLACE FIRST WITH "Test'Pieter" Errorlog: Application ===========...
by pieter
Thu Sep 24, 2015 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

Pieter, adordd its coded at usr rdd level so there isn't any translation into ado code. It is the default rdd that is replaced by adordd like ads rdd, dbfcdx rdd or any other rdd. All rdd table and index functions will work exactly the same. Nothing changes in your code. In adordd.prg for ex the REP...
by AHF
Wed Aug 26, 2015 1:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

Antonio F, What do you mean by "memory and/or time"? Maybe I should have said RAM and timing. In the past I have had programs crash when they ran out of RAM. And also, the OS sometimes lags and the program is expecting something to be done that isn't so you get a error that isn't trapped i...
by James Bott
Fri Aug 07, 2015 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

James, Antonio F, You asked previously about: SET ADO FORCE LOCK ON I had a comment in my code that it was required, and you asked why. Well, I found that if you try to do an APPEND FROM with lots of records it will crash without the above statement. I had it crash once at 500 something records...
by AHF
Fri Aug 07, 2015 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402

Re: ADO RDD xHarbour

Lucas, DO_PUTVALUE( 1503 ) -> oRecordSet:Update() oRecordSet:Fields( nField - 1 ):Value := xValue oRecordSet:Update() This is my code: REPLACE FACTURAS->NOMBRE WITH CLIENTES->NOMBRE .... and so one The real cause: Field lengh for FACTURAS nombre is 34, but in CLIENTES is 50. This works here...
by AHF
Sat May 23, 2015 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446402
Next

Return to advanced search