I need browse control

Moderator: Rathinagiri

User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

I need browse control

Post by luisvasquezcl »

Hola colegas,
necesito recompilar una aplicación muy grande que usa muchos controles browse pero no me muestra datos con la nueva versión de hmg. Hay alguien que haya solucionado ese problema con algún parche? no quiero cambiar los browse por grid ya que es demasiado trabajo.
Creo que se debería considerar dejar el control browse vigente por compatibilidad.
Espero sus comentarios
Saludos cordiales,

Hello colleagues,
I need a very big recompile using many controls but I browse displays data with the new version of hmg. Has anyone solved this problem with a patch? not want to change the browse by grid because it is too much work.
I think you should consider leaving browse current control for compatibility.
I welcome your comments
Best regards,
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: I need browse control

Post by danielmaximiliano »

Hola Luis :
No entedi bien la pregunta, puede ser que te falte incluir entu aplicacion

Code: Select all

SETCompileBrowse.ch
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: I need browse control

Post by luisvasquezcl »

Hola Daniel,
No sabía que existía ese Setcompilebrowse.ch
voy a probarlo y si me resulta no sabes que gran noticia me has dado.
gracias de antemano por tan rápida respuesta.
Saludos cordiales,
Luis Vásquez.
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: I need browse control

Post by luisvasquezcl »

Me resulto muy bien.
ahora, Una última consulta,
tengo problemas con this.cellvalue. como obtengo el valor del campo que estoy editando inplace?
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: I need browse control

Post by srvet_claudio »

luisvasquezcl wrote:Hola colegas,
necesito recompilar una aplicación muy grande que usa muchos controles browse pero no me muestra datos con la nueva versión de hmg. Hay alguien que haya solucionado ese problema con algún parche? no quiero cambiar los browse por grid ya que es demasiado trabajo.
Creo que se debería considerar dejar el control browse vigente por compatibilidad.
Espero sus comentarios
Saludos cordiales,

Hello colleagues,
I need a very big recompile using many controls but I browse displays data with the new version of hmg. Has anyone solved this problem with a patch? not want to change the browse by grid because it is too much work.
I think you should consider leaving browse current control for compatibility.
I welcome your comments
Best regards,
Hola Luis por las dudas no estarás usando la versión HMG.3.1.1 ?
En esta versión me olvide de incluir en los archivos fuentes el archivo de cabecera que mencionó Daniel. viewtopic.php?p=23336&f=2#p23336
En las versiones posteriores si está disponible el control Browse.
La ultima versión (HMG.3.1.4) ademas de tener mas funciones es mas estable que las versiones anteriores porque se corrigieron varios bugs.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: I need browse control

Post by luisvasquezcl »

Hola Claudio,
estoy usando la version 3.1.4 y funciona bastante bien.
No me había enterado que el browse estaba funcionando nuevamente, muchas gracias por activar este control, no sabes cuanto trabajo me ahorra el tenerlo nuevamente.
Respecto a las nuevas funciones: ¿están en la ayuda? como puedo saber cuales son?
Gracias por tu apoyo, es muy valioso para todos nosotros.
Saludos cordiales,
Luis vásquez
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: I need browse control

Post by luisvasquezcl »

Estimados,
tengo un pequeño problema.
al intentar grabar el dato de una celda me arroja un error:
Date:06/07/2013 Time: 23:26:38
Error DBFCDX/1022 Lock required
Called from _INPLACEEDITOK(1872)
Called from (b)_BROWSEINPLACEEDIT(1608)
Called from _DOCONTROLEVENTPROCEDURE(5490)
Called from EVENTS(755)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5146)
Called from _BROWSEINPLACEEDIT(1781)
Called from _BROWSEEDIT(1367)
Called from PROCESSINPLACEKBDEDIT(2029)
Called from EVENTS(1950)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5146)
Called from DOMETHOD(8098)
Called from CG2011(33)
Called from (b)MENU_INICIO(107)
Called from _DOCONTROLEVENTPROCEDURE(5490)
Called from EVENTS(1544)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5146)
Called from INICIO(85)
Obviamente me está indicando que no está bloqueando el registro.
Ahora, en la definición del browse la propiedad lock = .T. .
Donde está el problema?
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: I need browse control

Post by esgici »

luisvasquezcl wrote:...
Error DBFCDX/1022 Lock required
...
http://tech.groups.yahoo.com/group/harb ... sage/25081
Viva INTERNATIONAL HMG :D
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: I need browse control

Post by Leopoldo Blancas »

Hola Luis, yo no pude ver el Link del amigo Esgici pero yo lo que tengo entendido, si estoy en un error corrígeme, es que hay que bloquear el registro con Lock(), modificarlo, guardarlo y desbloquearlo para que otro usuario lo pueda modificar con UnLock.
Aunque en las propiedades del browse nos dice:
*-------------------------------------------------------------------------------------------------------------------------------------------------
Hi Luis, I could not see the link but I Esgici friend what I have understood, if I'm wrong correct me, is you have to lock the record with Lock (), modify it, save it and unlock it so that another user can modify with UnLock.
Although browse properties tells us

Code: Select all


Lock Property
Specifies whether Browse control should lock records when saving changes made interactively by the user
 
 
  
Syntax:
 
Lock <lValue>
 
Sample:
 
 
      @ 10,10 BROWSE Browse_1                                                ;
            WIDTH 610                                                        ;
            HEIGHT 390                                                       ;    
            HEADERS { 'Code' , 'First Name' , 'Last Name' }                  ;
            WIDTHS { 150 , 150 , 150 }                                       ;
            WORKAREA Test                                                    ;
            FIELDS { 'Test->Code' , 'Test->First' , 'Test->Last' }           ;
            DELETE                                                           ;
            LOCK                                                             ;
            EDIT                                                             ;
APPEND
 
Creo que se tiene que hacer lo anterior independientemente de ésto?

Saludos
*-------------------------------------------------------------------------------------------------------------------------------------------------
I think it has to do the above regardless of this?

regards

Polo
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: I need browse control

Post by srvet_claudio »

luisvasquezcl wrote:Hola Claudio,
estoy usando la version 3.1.4 y funciona bastante bien.
No me había enterado que el browse estaba funcionando nuevamente, muchas gracias por activar este control, no sabes cuanto trabajo me ahorra el tenerlo nuevamente.
Respecto a las nuevas funciones: ¿están en la ayuda? como puedo saber cuales son?
Gracias por tu apoyo, es muy valioso para todos nosotros.
Saludos cordiales,
Luis vásquez
Luis la mayoría de las nuevas funciones están documentadas en las secciones HMG UNICODE y HFCL de la documentación de HMG:
C:/hmg.3.1.4/DOC/data/index.htm
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply