topic
stringlengths
1
63
text
stringlengths
1
577k
(SOLVE) different harbour 3.2 r150129225 with r1506171039
Before testing your make, be sure to clean the folder [quote:2077e4al] .path.OBJ = .\obj [/quote:2077e4al]
(SOLVE) different harbour 3.2 r150129225 with r1506171039
Dear cnavorra, Thank you, yes I always to clear obj before start compile. Regards, Kok
(SOLVE) different harbour 3.2 r150129225 with r1506171039
Great
(Solucionado )COLUMNS unir dos campos en una columna....
Hola aqui de nuevo , con otra pregunta de lo mismo pero ahora , uniendo dos variables de campos en una sola columna se puede ? Quiero anidar o como se le dice la palabra correcta, unir dos campos en una sola columna o sea el ejemplo seria asi : [b:1hejklwf]TIPO+LTRIM(STR(NUMPOL,5))[/b:1hejklwf], para no crear dos columnas, Tipo Y Num Poliza. que sea en un solo campo COLUMNS como del ejemplo: se puede ? [code=fw:1hejklwf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />           HEADERS <span style="color: #ff0000;">"Poliza"</span>,<span style="color: #ff0000;">"Cargo"</span>,<span style="color: #ff0000;">"Abono"</span> ;<br />           COLUMNS <span style="color: #ff0000;">"TIPO+LTRIM(STR(NUMPOL,5))"</span>, <span style="color: #ff0000;">"SALCARG"</span>, <span style="color: #ff0000;">"SALCRED"</span>  ;<br />           SIZES <span style="color: #000000;">112</span>,<span style="color: #000000;">240</span>,<span style="color: #000000;">75</span> ;<br />           <span style="color: #0000ff;">ALIAS</span> <span style="color: #000000;">&#40;</span>S08<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">ALIAS</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// FOOTERS CELL AUTOCOLS</span></div>[/code:1hejklwf] Saludos y buen dia. Atte: Adrian C. C. Solucionado de esta manera ! [b:1hejklwf]COLUMNS { || (S12)->A_TIPO+" "+LTRIM(STR((S12)->A_NUMPOL,5)) },"A_FHAMOV"[/b:1hejklwf], asi es como queria sin crear otra columna <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> , es una maravilla TXBrowse, que voy descubiendo poco a poco <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> ..! [code=fw:1hejklwf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS <span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Póliza"</span> ,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Fecha"</span> &nbsp; ,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Concepto"</span>,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Cargo"</span> &nbsp; &nbsp;,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Abono"</span> &nbsp; &nbsp;,<span style="color: #ff0000;">"Fec."</span>+CRLF+<span style="color: #ff0000;">"Captura"</span>,<span style="color: #ff0000;">"Hora"</span>+CRLF+<span style="color: #ff0000;">"Captura"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLUMNS <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>->A_TIPO+<span style="color: #ff0000;">" "</span>+LTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>->A_NUMPOL,<span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>,<span style="color: #ff0000;">"A_FHAMOV"</span>,<span style="color: #ff0000;">"A_CONCEP"</span>,<span style="color: #ff0000;">"A_TOTCARG"</span>,<span style="color: #ff0000;">"A_TOTCRED"</span>,<span style="color: #ff0000;">"FECALTA"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,<span style="color: #ff0000;">"REGHORA"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZES <span style="color: #000000;">50</span>,<span style="color: #000000;">52</span>,<span style="color: #000000;">239</span>,<span style="color: #000000;">75</span>,<span style="color: #000000;">75</span>,<span style="color: #000000;">52</span>,<span style="color: #000000;">50</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PICTURES <span style="color: #ff0000;">""</span>,<span style="color: #ff0000;">"@D"</span>,<span style="color: #ff0000;">"@60"</span>,<span style="color: #ff0000;">"@Z 999,999,999.99"</span>,<span style="color: #ff0000;">"@Z 999,999,999.99"</span>,<span style="color: #ff0000;">"@D"</span>,<span style="color: #ff0000;">"@!"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ALIAS</span> <span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">ALIAS</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// FOOTERS CELL AUTOCOLS</span></div>[/code:1hejklwf]
(Solucionado resta de horas) Como validar retardo ...
Hola buenas tardes como estan, aqui de nuevo con una pregunta sencilla, o no tan sencilla. Como puedo validar el tiempo con 15 minutos de tolerancia, o convertir 15 minutos a hora time(), u otro metodo de funcion. 1.- Por ejemplo en el sistema hora de entrada de empleado 9:00 am 2.- En otro campo con 15 minutos de tolerancia... 3.- [b:26vo1z3m]O sumarle time + 15 minutos[/b:26vo1z3m] y me de suma de 9:15 am, cual seria la instruccion y validar si time() > 9:15 am como ejemplo Como puedo validar despues de 9:16 am, me valide, MsgAlert("[b:26vo1z3m]Retardo de entrada[/b:26vo1z3m]")...esta es la intruccion, pero no le hallo forma : [code=fw:26vo1z3m]<div class="fw" id="{CB}" style="font-family: monospace;">cEntr := <span style="color: #ff0000;">"9:00 am"</span> <span style="color: #B900B9;">// Variable dato en DBF como hora entrada        Caracter  // aqui validar su hora de entrada </span><br /> nTole := <span style="color: #000000;">15</span>        <span style="color: #B900B9;">// variable dato en DBF 15 minutos de tolerancia Numerico          // Aqui validar 15 minutos de tolerancia </span><br /><br /> <span style="color: #00C800;">IF</span> TIME<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> > STR<span style="color: #000000;">&#40;</span>nTole<span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// Aqui con la funcion TIME() "9:16 am" que ya se paso 15 minutos de tolerancia de entrada...</span><br />     MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Retardo de entrada..."</span><span style="color: #000000;">&#41;</span><br /> <span style="color: #00C800;">ENDIF</span></div>[/code:26vo1z3m] Espero sus comentarios, ejemplos, ayuda que me puedan ayudar con esta validacion u o condicion. Saludos .!
(Solucionado resta de horas) Como validar retardo ...
Hola. Algo rapido, chapucero, pero talvez te sirve de guia. [code=fw:2um1fmgn]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">LOCAL</span> nEntrConToler := <span style="color: #000000;">555</span> &nbsp; <span style="color: #B900B9;">//09:15 = 9*60=540 + 15 = 555 minutos</span><br /><span style="color: #00C800;">local</span> nEntRetraso &nbsp; := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>*<span style="color: #000000;">60</span> + val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">if</span> nEntRetraso > nEntrConToler<br />&nbsp; &nbsp;<span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Castigo por retraso de "</span>+Str<span style="color: #000000;">&#40;</span>nEntRetraso-nEntrConToler<span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" minutos"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br />&nbsp;</div>[/code:2um1fmgn] Saludos.
(Solucionado resta de horas) Como validar retardo ...
[quote="FranciscoA":2th9c3th]Hola. Algo rapido, chapucero, pero talvez te sirve de guia. [code=fw:2th9c3th]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">LOCAL</span> nEntrConToler := <span style="color: #000000;">555</span>   <span style="color: #B900B9;">//09:15 = 9*60=540 + 15 = 555 minutos</span><br /><span style="color: #00C800;">local</span> nEntRetraso   := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>*<span style="color: #000000;">60</span> + val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">if</span> nEntRetraso > nEntrConToler<br />   <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Castigo por retraso de "</span>+Str<span style="color: #000000;">&#40;</span>nEntRetraso-nEntrConToler<span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" minutos"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /> </div>[/code:2th9c3th] Saludos.[/quote:2th9c3th] Gracias por tu interes de siempre Francisco,el resultado si me da a tu ejemplo sencillo. Pero...quisiera que desde mi campo lunes,martes.miercoles,etc etc , y dependiendo de horario de sea matutino, vespertino y nocturno me convirtiera la variable de "09:00:00 am" a "09:20:00 am" me dijera diferencia minutos de retardo desde las 9 am, pero pasado de mas de 25 minutos,que me dijera ya no puede checar entrada..a lo que me refiero es sumar desde el inicio de entrada menos la diferencua de retardo,y eso que con la varariable ,la estoy declarando solo caracter y no con time() ...y validar con mas de 25 minutos ya no te deje checar tu entrada...es algo asi con esa rutina....BUENO YO CREO QUE SI SERIA CON TIME(),DESPUES DEL TIEMPO TRANSCURRIDO DESDE LA ENTRADA DE CHECADOR DE RELOJ, O SEA LA VARIABLE DESDE QUE LA CONFIGURO MATUTINO cHoraEntrada:="09:00: am" hasta el tiempo transcurrido despues de la tolerancia de 15 minutos o sea "09:15 am" y de ahi contar que desde "09:016 am" diferencia de minutos de retardo, pero tipo caracter, pero si sumandole diferencia transcurrido de retardo....
(Solucionado resta de horas) Como validar retardo ...
[quote="ACC69":36jtp5ns][quote="FranciscoA":36jtp5ns]Hola. Algo rapido, chapucero, pero talvez te sirve de guia. [code=fw:36jtp5ns]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">LOCAL</span> nEntrConToler := <span style="color: #000000;">555</span>   <span style="color: #B900B9;">//09:15 = 9*60=540 + 15 = 555 minutos</span><br /><span style="color: #00C800;">local</span> nEntRetraso   := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>*<span style="color: #000000;">60</span> + val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">if</span> nEntRetraso > nEntrConToler<br />   <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Castigo por retraso de "</span>+Str<span style="color: #000000;">&#40;</span>nEntRetraso-nEntrConToler<span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" minutos"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /> </div>[/code:36jtp5ns] Saludos.[/quote:36jtp5ns] Gracias por tu interes de siempre Francisco,el resultado si me da a tu ejemplo sencillo. Pero...quisiera que desde mi campo lunes,martes.miercoles,etc etc , y dependiendo de horario de sea matutino, vespertino y nocturno me convirtiera la variable de "09:00:00 am" a "09:20:00 am" me dijera diferencia minutos de retardo desde las 9 am, pero pasado de mas de 25 minutos,que me dijera ya no puede checar entrada..a lo que me refiero es sumar desde el inicio de entrada menos la diferencua de retardo,y eso que con la varariable ,la estoy declarando solo caracter y no con time() ...y validar con mas de 25 minutos ya no te deje checar tu entrada...es algo asi con esa rutina....BUENO YO CREO QUE SI SERIA CON TIME(),DESPUES DEL TIEMPO TRANSCURRIDO DESDE LA ENTRADA DE CHECADOR DE RELOJ, O SEA LA VARIABLE DESDE QUE LA CONFIGURO MATUTINO cHoraEntrada:="09:00: am" hasta el tiempo transcurrido despues de la tolerancia de 15 minutos o sea "09:15 am" y de ahi contar que desde "09:016 am" diferencia de minutos de retardo, pero tipo caracter, pero si sumandole diferencia transcurrido de retardo....[/quote:36jtp5ns] Alguien mas ha hecho algo parecido, entrada y salida de personal con codigo de barras...y con validacion de 15 minutos de retardo y restarle el tiempo de entrada de retardo con caracter "09:00:00 am" menos 09:16:00 am con diferencia de 1 minuto de retardo ??? Saludos
(Solucionado resta de horas) Como validar retardo ...
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=28463#p159268">viewtopic.php?f=6&t=28463#p159268</a><!-- l -->
(Solucionado resta de horas) Como validar retardo ...
Yo tengo un sistema de control de personal con acceso por medio de un programa con tarjetas de codigos de barra. En mi caso, cada empleado tiene definido el horario de entrada limite (pero es facil aplicar ya que es comparar dos datos tipo string) Te paso la función que calcula las horas extras (en valores enteros). Tal vez te sirva. [code=fw:2whjkxm0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// cEntra es la hora de entrada</span><br /><span style="color: #B900B9;">// cSale es la hora de salida</span><br /><span style="color: #B900B9;">// nJornada es el total de horas que debe trabajar en esa jornada</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> HorasExtras<span style="color: #000000;">&#40;</span>cEntra,cSale,nJornada<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> nHoras := <span style="color: #000000;">0</span>, nHora1, nHora2<br />           nHora1 := VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cEntra,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">60</span> + VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cEntra,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />           nHora2 := VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cSale ,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>  * <span style="color: #000000;">60</span> + VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cSale,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">IF</span> cSale < cEntra<br />              nHora2 := nHora2 + <span style="color: #000000;">24</span> * <span style="color: #000000;">60</span><br />           <span style="color: #00C800;">ENDIF</span><br />           nHoras := <span style="color: #000000;">&#40;</span>nHora2 - nHora1<span style="color: #000000;">&#41;</span> / <span style="color: #000000;">60</span> - nJornada          <br /><span style="color: #00C800;">RETURN</span> nHoras</div>[/code:2whjkxm0] Recuerda que el valor te lo devuelve en horas (en forma decimal) por lo tanto 1:30 hs = 1.5 O sea que con el mismo criterio, la llegada tarde podrias consultarla asi: [code=fw:2whjkxm0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">IF</span> HorasExtras<span style="color: #000000;">&#40;</span>cFichada,cFechaLim,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0.25</span><br />   <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Llego tarde"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span></div>[/code:2whjkxm0] Obviamente hay muchos mas controles que puedes hacer, como que pasa si falta una fichada, si los dias son hábiles, feriados, no laborables, etc. Pero esto es un punta, que espero te sirva
(Solucionado resta de horas) Como validar retardo ...
[quote="cmsoft":2vhy8is2]Yo tengo un sistema de control de personal con acceso por medio de un programa con tarjetas de codigos de barra. En mi caso, cada empleado tiene definido el horario de entrada limite (pero es facil aplicar ya que es comparar dos datos tipo string) Te paso la función que calcula las horas extras (en valores enteros). Tal vez te sirva. [code=fw:2vhy8is2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// cEntra es la hora de entrada</span><br /><span style="color: #B900B9;">// cSale es la hora de salida</span><br /><span style="color: #B900B9;">// nJornada es el total de horas que debe trabajar en esa jornada</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> HorasExtras<span style="color: #000000;">&#40;</span>cEntra,cSale,nJornada<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> nHoras := <span style="color: #000000;">0</span>, nHora1, nHora2<br />           nHora1 := VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cEntra,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">60</span> + VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cEntra,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />           nHora2 := VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span>cSale ,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>  * <span style="color: #000000;">60</span> + VAL<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span>cSale,<span style="color: #000000;">4</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />           <span style="color: #00C800;">IF</span> cSale < cEntra<br />              nHora2 := nHora2 + <span style="color: #000000;">24</span> * <span style="color: #000000;">60</span><br />           <span style="color: #00C800;">ENDIF</span><br />           nHoras := <span style="color: #000000;">&#40;</span>nHora2 - nHora1<span style="color: #000000;">&#41;</span> / <span style="color: #000000;">60</span> - nJornada          <br /><span style="color: #00C800;">RETURN</span> nHoras</div>[/code:2vhy8is2] Recuerda que el valor te lo devuelve en horas (en forma decimal) por lo tanto 1:30 hs = 1.5 O sea que con el mismo criterio, la llegada tarde podrias consultarla asi: [code=fw:2vhy8is2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">IF</span> HorasExtras<span style="color: #000000;">&#40;</span>cFichada,cFechaLim,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0.25</span><br />   <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Llego tarde"</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">ENDIF</span></div>[/code:2vhy8is2] Obviamente hay muchos mas controles que puedes hacer, como que pasa si falta una fichada, si los dias son hábiles, feriados, no laborables, etc. Pero esto es un punta, que espero te sirva[/quote:2vhy8is2] Hola buenos dias, gracias a todos los que me respondieron por este sencillo codigo, que yo hacia mal, que no me restaba la fecha,por ser tipo caracter,pero ya funciono, gracias cmsoft por el interes de esta rutina, y por lo que comentas tienes desarollado sistema entrada y salida, con codigo de barras, yo anbude buscando por el foro, pero ya no funciona el link, no se si alguien me pueda proporcionar la clase de codigo de barras actualizado y un ejemplo sencillo, de como crear dando de alta codigo de barras e imprimirlo y leer por escaner, estaba pensando en hacer lo mas sencillo de entrada con codigo y clave de usuario. Saludos y buen dia. y les agradezco de nuevo por la ayuda y el interes. Atte: Adrian C. C. <!-- e --><a href="mailto:acc69@hotmail.com">acc69@hotmail.com</a><!-- e -->
(Solucionado resta de horas) Como validar retardo ...
Hola Adrian: Para la entrada de datos, no necesitas nada, ya que si elijes un scanner con emulador de teclado, lo que hace es emular que el usuario ingresa los dígitos que tiene el código de barras de la tarjeta personal del empleado. Para la impresión de las tarjetas con códigos de barras, lo mejor sería elegir un FONT Interleave 2 of 5, una tipografía que imprima códigos de barra. Entonces, lo que defines en un obtejo PRINTER es el font apropiado y listo. Aca te dejo un ejemplo de impresión de carnet y la función que arma el código de barras [code=fw:3p3qt1ks]<div class="fw" id="{CB}" style="font-family: monospace;"><br />***********************************<br />** Emision de tarjeta personal<br /><span style="color: #B900B9;">// base es la tabla de personal que viene como parametro</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Tarjeta<span style="color: #000000;">&#40;</span>base<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oPrn, oFont1, oFont2, nCol, nRow, i, mfoto,;<br />&nbsp; &nbsp; &nbsp; mbarra, mtama1, mtama2, mtama5<br /><span style="color: #B900B9;">// Busco los tamños de letra para cada font en una </span><br /><span style="color: #B900B9;">// tabla que guardo los valores </span><br />USE fuentes <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"datos"</span> <span style="color: #00C800;">NEW</span><br />mtama1 := datos->tama1<br />mtama2 := datos->tama2<br />mtama5 := datos->tama5<br />close datos<br /><span style="color: #B900B9;">// La foto del empleado la tengo guardada en una </span><br /><span style="color: #B900B9;">// carpeta FOTOS con el codigo de empleado completado con ceros</span><br />mfoto &nbsp; := <span style="color: #ff0000;">"FOTOS<span style="color: #000000;">\"</span> + STRTRAN(STR((base)->codigo ,8),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">") + "</span>.BMP<span style="color: #ff0000;">"<br />// El codigo de barras lo armo con la funcion CodigoBarra<br />// que arma el conjunto de pares que la tipografia puede <br />// mostrar (siempre tiene que ser par el nro de digitos)<br />// Los () de inicio y fin son necesarios para delimitar el codigo<br />mbarra &nbsp;:= "</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"+CodigoBarra( STRTRAN(STR((base)->codigo ,6),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">") )+"</span><span style="color: #000000;">&#41;</span><span style="color: #ff0000;">"<br />// Defino los distintos tipos de letra<br />&nbsp; &nbsp; &nbsp;DEFINE FONT oFont1 NAME "</span>TAHOMA<span style="color: #ff0000;">" SIZE mtama1, mtama1*2<br />&nbsp; &nbsp; &nbsp;DEFINE FONT oFont2 NAME "</span>Interleaved 2of5 <span style="color: #0000ff;">Text</span><span style="color: #ff0000;">" SIZE mtama4, mtama4*2<br />PRINT oPrn NAME "</span>Tarjeta<span style="color: #ff0000;">" PREVIEW<br />&nbsp; &nbsp;// Divido la hora en 72 lineas x 80 Columnas<br />&nbsp; &nbsp;nRow = oPrn:nVertRes() / 72<br />&nbsp; &nbsp;nCol = oPrn:nHorzRes() / 80<br />&nbsp; &nbsp;PAGE<br />&nbsp; &nbsp; &nbsp;// Imprimo un logo de la empresa para el carnet<br />&nbsp; &nbsp; &nbsp;oPrn:SayBitmap(7,nCol*20,"</span>LOGOCARN.BMP<span style="color: #ff0000;">",mtama5/5,mtama5/5)<br />&nbsp; &nbsp; &nbsp;oPrn:SayBitmap(nRow*2,nCol*24,mfoto,mtama5+mtama5/3,mtama5)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*2,nCol*5,oApp:nomb_emp,oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*4,nCol*5,"</span>Legajo Nro.:<span style="color: #ff0000;">"+STR((base)->codigo),oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*5,nCol*5,(base)->nombre,oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*6,nCol*5,"</span>Categoria: <span style="color: #ff0000;">"+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF(cate04->(DBSEEK((base)->categoria)),cate04->nombre,"</span><span style="color: #ff0000;">"),oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*7,nCol*5,"</span>Direccion: <span style="color: #ff0000;">"+(base)->direccion,oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*8,nCol*5,"</span>D.N.I: <span style="color: #ff0000;">"+STR((base)->dni),oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*9,nCol*5,"</span>Fecha Ingreso: <span style="color: #ff0000;">"+DTOC((base)->fechaing),oFont1)<br />&nbsp; &nbsp; &nbsp;oPrn:Say(nRow*10,nCol*5,mbarra,oFont2)<br />&nbsp; &nbsp;ENDPAGE<br />ENDPRINT<br />RELEASE FONT oFont1<br />RELEASE FONT oFont2<br />RETURN nil<br /><br />************************************<br />** Codigo de barra de un numero<br />STATIC FUNCTION CodigoBarra( x )<br />LOCAL i, bar := {}, j := 0, bar1 := {}, cBarr := "</span><span style="color: #ff0000;">"<br />&nbsp; &nbsp;FOR i := 48 TO 97<br />&nbsp; &nbsp; &nbsp; &nbsp;AADD(bar ,CHR(i))<br />&nbsp; &nbsp; &nbsp; &nbsp;AADD(bar1,STRTRAN(STR(j,2),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">"))<br />&nbsp; &nbsp; &nbsp; &nbsp;j++<br />&nbsp; &nbsp;NEXT i<br />&nbsp; &nbsp;FOR i := 192 TO 241<br />&nbsp; &nbsp; &nbsp; &nbsp;AADD(bar,CHR(i))<br />&nbsp; &nbsp; &nbsp; &nbsp;AADD(bar1,STRTRAN(STR(j,2),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">"))<br />&nbsp; &nbsp; &nbsp; &nbsp;j++<br />&nbsp; &nbsp;NEXT i<br />FOR j := 1 TO LEN(x)-1 STEP 2<br />&nbsp; &nbsp; i := ASCAN(bar1,SUBSTR(x,j,2))<br />&nbsp; &nbsp; cBarr := cBarr + bar[i]<br />NEXT j<br />RETURN cBarr</span></div>[/code:3p3qt1ks] Espero te sirva!
(Solucionado resta de horas) Como validar retardo ...
[quote="cmsoft":1yxdamh2]Hola Adrian: Para la entrada de datos, no necesitas nada, ya que si elijes un scanner con emulador de teclado, lo que hace es emular que el usuario ingresa los dígitos que tiene el código de barras de la tarjeta personal del empleado. Para la impresión de las tarjetas con códigos de barras, lo mejor sería elegir un FONT Interleave 2 of 5, una tipografía que imprima códigos de barra. Entonces, lo que defines en un obtejo PRINTER es el font apropiado y listo. Aca te dejo un ejemplo de impresión de carnet y la función que arma el código de barras [code=fw:1yxdamh2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />***********************************<br />** Emision de tarjeta personal<br /><span style="color: #B900B9;">// base es la tabla de personal que viene como parametro</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> Tarjeta<span style="color: #000000;">&#40;</span>base<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oPrn, oFont1, oFont2, nCol, nRow, i, mfoto,;<br />      mbarra, mtama1, mtama2, mtama5<br /><span style="color: #B900B9;">// Busco los tamños de letra para cada font en una </span><br /><span style="color: #B900B9;">// tabla que guardo los valores </span><br />USE fuentes <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"datos"</span> <span style="color: #00C800;">NEW</span><br />mtama1 := datos->tama1<br />mtama2 := datos->tama2<br />mtama5 := datos->tama5<br />close datos<br /><span style="color: #B900B9;">// La foto del empleado la tengo guardada en una </span><br /><span style="color: #B900B9;">// carpeta FOTOS con el codigo de empleado completado con ceros</span><br />mfoto   := <span style="color: #ff0000;">"FOTOS<span style="color: #000000;">\"</span> + STRTRAN(STR((base)->codigo ,8),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">") + "</span>.BMP<span style="color: #ff0000;">"<br />// El codigo de barras lo armo con la funcion CodigoBarra<br />// que arma el conjunto de pares que la tipografia puede <br />// mostrar (siempre tiene que ser par el nro de digitos)<br />// Los () de inicio y fin son necesarios para delimitar el codigo<br />mbarra  := "</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"+CodigoBarra( STRTRAN(STR((base)->codigo ,6),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">") )+"</span><span style="color: #000000;">&#41;</span><span style="color: #ff0000;">"<br />// Defino los distintos tipos de letra<br />     DEFINE FONT oFont1 NAME "</span>TAHOMA<span style="color: #ff0000;">" SIZE mtama1, mtama1*2<br />     DEFINE FONT oFont2 NAME "</span>Interleaved 2of5 <span style="color: #0000ff;">Text</span><span style="color: #ff0000;">" SIZE mtama4, mtama4*2<br />PRINT oPrn NAME "</span>Tarjeta<span style="color: #ff0000;">" PREVIEW<br />   // Divido la hora en 72 lineas x 80 Columnas<br />   nRow = oPrn:nVertRes() / 72<br />   nCol = oPrn:nHorzRes() / 80<br />   PAGE<br />     // Imprimo un logo de la empresa para el carnet<br />     oPrn:SayBitmap(7,nCol*20,"</span>LOGOCARN.BMP<span style="color: #ff0000;">",mtama5/5,mtama5/5)<br />     oPrn:SayBitmap(nRow*2,nCol*24,mfoto,mtama5+mtama5/3,mtama5)<br />     oPrn:Say(nRow*2,nCol*5,oApp:nomb_emp,oFont1)<br />     oPrn:Say(nRow*4,nCol*5,"</span>Legajo Nro.:<span style="color: #ff0000;">"+STR((base)->codigo),oFont1)<br />     oPrn:Say(nRow*5,nCol*5,(base)->nombre,oFont1)<br />     oPrn:Say(nRow*6,nCol*5,"</span>Categoria: <span style="color: #ff0000;">"+;<br />          IF(cate04->(DBSEEK((base)->categoria)),cate04->nombre,"</span><span style="color: #ff0000;">"),oFont1)<br />     oPrn:Say(nRow*7,nCol*5,"</span>Direccion: <span style="color: #ff0000;">"+(base)->direccion,oFont1)<br />     oPrn:Say(nRow*8,nCol*5,"</span>D.N.I: <span style="color: #ff0000;">"+STR((base)->dni),oFont1)<br />     oPrn:Say(nRow*9,nCol*5,"</span>Fecha Ingreso: <span style="color: #ff0000;">"+DTOC((base)->fechaing),oFont1)<br />     oPrn:Say(nRow*10,nCol*5,mbarra,oFont2)<br />   ENDPAGE<br />ENDPRINT<br />RELEASE FONT oFont1<br />RELEASE FONT oFont2<br />RETURN nil<br /><br />************************************<br />** Codigo de barra de un numero<br />STATIC FUNCTION CodigoBarra( x )<br />LOCAL i, bar := {}, j := 0, bar1 := {}, cBarr := "</span><span style="color: #ff0000;">"<br />   FOR i := 48 TO 97<br />       AADD(bar ,CHR(i))<br />       AADD(bar1,STRTRAN(STR(j,2),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">"))<br />       j++<br />   NEXT i<br />   FOR i := 192 TO 241<br />       AADD(bar,CHR(i))<br />       AADD(bar1,STRTRAN(STR(j,2),"</span> <span style="color: #ff0000;">","</span><span style="color: #000000;">0</span><span style="color: #ff0000;">"))<br />       j++<br />   NEXT i<br />FOR j := 1 TO LEN(x)-1 STEP 2<br />    i := ASCAN(bar1,SUBSTR(x,j,2))<br />    cBarr := cBarr + bar[i]<br />NEXT j<br />RETURN cBarr</span></div>[/code:1yxdamh2] Espero te sirva![/quote:1yxdamh2] Gracias cmsfot, por tu interes, entonces no es necesario tener la clase de barcode o barlib, que con eso es mas que suficiente, ahora en caso que no tuviera escaner con emulador de teclado, ahi si a fuerzas usaria la clase, segun yo supongo,de todas maneras no tengo escaner para hacer pruebas,espero conseguir uno prestado y a ver que sale . Saludos de antemano cmsoft, gracias de nuevo. <!-- e --><a href="mailto:acc69@hotmail.com">acc69@hotmail.com</a><!-- e -->
(Solucionado resta de horas) Como validar retardo ...
[quote="ACC69":1h14prc3]Hola buenas tardes como estan, aqui de nuevo con una pregunta sencilla, o no tan sencilla. Como puedo validar el tiempo con 15 minutos de tolerancia, o convertir 15 minutos a hora time(), u otro metodo de funcion. 1.- Por ejemplo en el sistema hora de entrada de empleado 9:00 am 2.- En otro campo con 15 minutos de tolerancia... 3.- [b:1h14prc3]O sumarle time + 15 minutos[/b:1h14prc3] y me de suma de 9:15 am, cual seria la instruccion y validar si time() > 9:15 am como ejemplo Como puedo validar despues de 9:16 am, me valide, MsgAlert("[b:1h14prc3]Retardo de entrada[/b:1h14prc3]")...esta es la intruccion, pero no le hallo forma : [code=fw:1h14prc3]<div class="fw" id="{CB}" style="font-family: monospace;">cEntr := <span style="color: #ff0000;">"9:00 am"</span> <span style="color: #B900B9;">// Variable dato en DBF como hora entrada        Caracter  // aqui validar su hora de entrada </span><br /> nTole := <span style="color: #000000;">15</span>        <span style="color: #B900B9;">// variable dato en DBF 15 minutos de tolerancia Numerico          // Aqui validar 15 minutos de tolerancia </span><br /><br /> <span style="color: #00C800;">IF</span> TIME<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> > STR<span style="color: #000000;">&#40;</span>nTole<span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// Aqui con la funcion TIME() "9:16 am" que ya se paso 15 minutos de tolerancia de entrada...</span><br />     MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Retardo de entrada..."</span><span style="color: #000000;">&#41;</span><br /> <span style="color: #00C800;">ENDIF</span></div>[/code:1h14prc3] Espero sus comentarios, ejemplos, ayuda que me puedan ayudar con esta validacion u o condicion. Saludos .![/quote:1h14prc3] Gracias solucionado la resta de horas y tolerancia de entrada.
(Solucionado) Unir dos campos en COLUMNS
Hola aqui de nuevo , con otra pregunta de lo mismo pero ahora , uniendo dos variables de campos en una sola columna se puede ? Quiero anidar o como se le dice la palabra correcta, unir dos campos en una sola columna o sea el ejemplo seria asi : [b:17mr8iya]TIPO+LTRIM(STR(NUMPOL,5))[/b:17mr8iya], para no crear dos columnas, Tipo Y Num Poliza. que sea en un solo campo COLUMNS como del ejemplo: se puede ? [code=fw:17mr8iya]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />           HEADERS <span style="color: #ff0000;">"Poliza"</span>,<span style="color: #ff0000;">"Cargo"</span>,<span style="color: #ff0000;">"Abono"</span> ;<br />           COLUMNS <span style="color: #ff0000;">"TIPO+LTRIM(STR(NUMPOL,5))"</span>, <span style="color: #ff0000;">"SALCARG"</span>, <span style="color: #ff0000;">"SALCRED"</span>  ;<br />           SIZES <span style="color: #000000;">112</span>,<span style="color: #000000;">240</span>,<span style="color: #000000;">75</span> ;<br />           <span style="color: #0000ff;">ALIAS</span> <span style="color: #000000;">&#40;</span>S08<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">ALIAS</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// FOOTERS CELL AUTOCOLS</span></div>[/code:17mr8iya] Thanks Nages Gracias Nages . Saludos y buen dia. Atte: Adrian C. C. Solucionado de esta manera ! [b:17mr8iya]COLUMNS { || (S12)->A_TIPO+" "+LTRIM(STR((S12)->A_NUMPOL,5)) },"A_FHAMOV"[/b:17mr8iya], asi es como queria sin crear otra columna <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> , es una maravilla TXBrowse, que voy descubiendo poco a poco <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> ..! [code=fw:17mr8iya]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />           HEADERS <span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Póliza"</span> ,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Fecha"</span>   ,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Concepto"</span>,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Cargo"</span>    ,<span style="color: #ff0000;">""</span>+CRLF+<span style="color: #ff0000;">"Abono"</span>    ,<span style="color: #ff0000;">"Fec."</span>+CRLF+<span style="color: #ff0000;">"Captura"</span>,<span style="color: #ff0000;">"Hora"</span>+CRLF+<span style="color: #ff0000;">"Captura"</span> ;<br />           COLUMNS <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>->A_TIPO+<span style="color: #ff0000;">" "</span>+LTRIM<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>->A_NUMPOL,<span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>,<span style="color: #ff0000;">"A_FHAMOV"</span>,<span style="color: #ff0000;">"A_CONCEP"</span>,<span style="color: #ff0000;">"A_TOTCARG"</span>,<span style="color: #ff0000;">"A_TOTCRED"</span>,<span style="color: #ff0000;">"FECALTA"</span>            ,<span style="color: #ff0000;">"REGHORA"</span>  ;<br />           SIZES <span style="color: #000000;">50</span>,<span style="color: #000000;">52</span>,<span style="color: #000000;">239</span>,<span style="color: #000000;">75</span>,<span style="color: #000000;">75</span>,<span style="color: #000000;">52</span>,<span style="color: #000000;">50</span> ;<br />           PICTURES <span style="color: #ff0000;">""</span>,<span style="color: #ff0000;">"@D"</span>,<span style="color: #ff0000;">"@60"</span>,<span style="color: #ff0000;">"@Z 999,999,999.99"</span>,<span style="color: #ff0000;">"@Z 999,999,999.99"</span>,<span style="color: #ff0000;">"@D"</span>,<span style="color: #ff0000;">"@!"</span> ;<br />           <span style="color: #0000ff;">ALIAS</span> <span style="color: #000000;">&#40;</span>S12<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">ALIAS</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// FOOTERS CELL AUTOCOLS</span></div>[/code:17mr8iya]
(Solucionado) Unir dos campos en COLUMNS
"TIPO+LTRIM(STR(NUMPOL,5))" should work if TIPO and NUMPOL are field names. Better use expression like this instead of a codeblock. Instead of ALIAS (S08)->(ALIAS()) simply use ALIAS "S08"
(Solucionado) Unir dos campos en COLUMNS
[quote="nageswaragunupudi":2gv1i77r]"TIPO+LTRIM(STR(NUMPOL,5))" should work if TIPO and NUMPOL are field names. Better use expression like this instead of a codeblock. Instead of ALIAS (S08)->(ALIAS()) simply use ALIAS "S08"[/quote:2gv1i77r] Hello Nages, sorry my english... Hola Nages, disculpame mi ingles, que no se escribir mucho al 100%. Si le cambio la forma del simple alias, el browse me muestra todo en blanco y me indica errores como este : LISTPOL.prg(697) Warning W0001 Ambiguous reference 'A_TIPO' LISTPOL.prg(697) Warning W0001 Ambiguous reference 'A_NUMPOL' Ya que la variable alias , la llamo desde una variable, con la funcion de Abre_Dbf(12,12) [b:2gv1i77r]S12 := Abre_Dbf(12,12) // Abre: POLZxMxA.DBF[/b:2gv1i77r] .. Aqui abre la base de datos eligiendo la tabla 12 que es POLIZA.DBF y dentro de la misma funcion alias... Es por eso que tengo que declararla de esta manera : REDEFINE XBROWSE oBrw2 ID 102 OF oDlg ; HEADER "Tipo", "Número", "Fecha", "Concepto", "Cargo", "Abono","Fec. Captura","Hora Captura" ; FIELDS (S12)->A_TIPO, STR((S12)->A_NUMPOL,5), DTOC((S12)->A_FHAMOV), SUBS((S12)->A_CONCEP,1,45), ; TRANSF((S12)->A_TOTCARG,"99,999,999.99"), TRANSF((S12)->A_TOTCRED,"99,999,999.99"), ; DTOC((S12)->FECALTA), (S12)->REGHORA ; SIZES 26,42,52,225,75,75,70,70 ; [b:2gv1i77r]ALIAS (S12)->( ALIAS() )[/b:2gv1i77r] Solo asi me funciona y dentro del bloque , (S12)->CAMPO y muestra bien los datos O alguna sugerencia en mejorar mi codigo con el alias y el bloque ., le agradecere mucho . con tal de mejorar el codigo simple! Saludos Nages y gracias por tu interes.! Atte: Adrian C. C.
(Solucionado) Unir dos campos en COLUMNS
Please try this and see: [code=fw:191jyuc3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />HEADER <span style="color: #ff0000;">"Tipo"</span>, <span style="color: #ff0000;">"Número"</span>, <span style="color: #ff0000;">"Fecha"</span>, <span style="color: #ff0000;">"Concepto"</span>, <span style="color: #ff0000;">"Cargo"</span>, <span style="color: #ff0000;">"Abono"</span>,<span style="color: #ff0000;">"Fec. Captura"</span>,<span style="color: #ff0000;">"Hora Captura"</span> ;<br />COLUMNS <span style="color: #ff0000;">"A_TIPO"</span>, <span style="color: #ff0000;">"A_NUMPOL"</span>, <span style="color: #ff0000;">"A_FHAMOV"</span>, <span style="color: #ff0000;">"SUBSTR(A_CONCEP,1,45)"</span>, ;<br /><span style="color: #ff0000;">"A_TOTCARG"</span>, <span style="color: #ff0000;">"A_TOTCRED"</span>, <span style="color: #ff0000;">"FECALTA"</span>, <span style="color: #ff0000;">"REGHORA"</span> ;<br /><span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S12"</span></div>[/code:191jyuc3]
(Solucionado) Unir dos campos en COLUMNS
[quote="nageswaragunupudi":3tb0fx0g]Please try this and see: [code=fw:3tb0fx0g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />HEADER <span style="color: #ff0000;">"Tipo"</span>, <span style="color: #ff0000;">"Número"</span>, <span style="color: #ff0000;">"Fecha"</span>, <span style="color: #ff0000;">"Concepto"</span>, <span style="color: #ff0000;">"Cargo"</span>, <span style="color: #ff0000;">"Abono"</span>,<span style="color: #ff0000;">"Fec. Captura"</span>,<span style="color: #ff0000;">"Hora Captura"</span> ;<br />COLUMNS <span style="color: #ff0000;">"A_TIPO"</span>, <span style="color: #ff0000;">"A_NUMPOL"</span>, <span style="color: #ff0000;">"A_FHAMOV"</span>, <span style="color: #ff0000;">"SUBSTR(A_CONCEP,1,45)"</span>, ;<br /><span style="color: #ff0000;">"A_TOTCARG"</span>, <span style="color: #ff0000;">"A_TOTCRED"</span>, <span style="color: #ff0000;">"FECALTA"</span>, <span style="color: #ff0000;">"REGHORA"</span> ;<br /><span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S12"</span></div>[/code:3tb0fx0g][/quote:3tb0fx0g] Hola Ing. Nages, hice la prueba como usted me indico, efectivamente si muestra bien los datos,cuando son columnas normales de esta manera: [code=fw:3tb0fx0g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS <span style="color: #ff0000;">"Seg"</span>+CRLF+<span style="color: #ff0000;">"Negocio"</span>,<span style="color: #ff0000;">"Descripción"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLUMNS &nbsp;<span style="color: #ff0000;">"SEGNEG"</span>, <span style="color: #ff0000;">"DESCRIP"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZES <span style="color: #000000;">48</span>, <span style="color: #000000;">112</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PICTURES <span style="color: #ff0000;">"9999"</span>, <span style="color: #ff0000;">"@S80"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S09"</span></div>[/code:3tb0fx0g] Pero cuando hay una funcion dentro o unificar dos campos en una sola columna como del mensaje anterior del ejemplo e incluyendo si hay una funcion como del que NivCta(CUENTAS) y la funcion SdoIni(), se pierden los datos o no muestra nada, como este codigo : Y marca error : Sel_Cata.prg(52) Warning W0001 Ambiguous reference 'CUENTAS' [code=fw:3tb0fx0g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HEADERS <span style="color: #ff0000;">"Cuenta"</span>,<span style="color: #ff0000;">"Descripción"</span>,<span style="color: #ff0000;">"Saldo Ant"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLUMNS &nbsp;<span style="color: #000000;">&#123;</span> || Ext_xNiv<span style="color: #000000;">&#40;</span>CUENTAS<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #ff0000;">"DESCRIP"</span>, <span style="color: #000000;">&#123;</span> || Sdoini<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZES <span style="color: #000000;">114</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">80</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PICTURES <span style="color: #ff0000;">"@!"</span>, <span style="color: #ff0000;">"@S50"</span>,<span style="color: #ff0000;">""</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S08"</span><br />&nbsp;</div>[/code:3tb0fx0g] Es por eso la necedad de usar (S08)->CUENTAS ó al menos que sea mi version que es 10.6 Cualquier solucion sera bienvenida. Saludos Ing. Nages . Atte: Adrian C. C.
(Solucionado) Unir dos campos en COLUMNS
[quote="ACC69":3ap73tuk][quote="nageswaragunupudi":3ap73tuk]Please try this and see: [code=fw:3ap73tuk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw2 <span style="color: #0000ff;">ID</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />HEADER <span style="color: #ff0000;">"Tipo"</span>, <span style="color: #ff0000;">"Número"</span>, <span style="color: #ff0000;">"Fecha"</span>, <span style="color: #ff0000;">"Concepto"</span>, <span style="color: #ff0000;">"Cargo"</span>, <span style="color: #ff0000;">"Abono"</span>,<span style="color: #ff0000;">"Fec. Captura"</span>,<span style="color: #ff0000;">"Hora Captura"</span> ;<br />COLUMNS <span style="color: #ff0000;">"A_TIPO"</span>, <span style="color: #ff0000;">"A_NUMPOL"</span>, <span style="color: #ff0000;">"A_FHAMOV"</span>, <span style="color: #ff0000;">"SUBSTR(A_CONCEP,1,45)"</span>, ;<br /><span style="color: #ff0000;">"A_TOTCARG"</span>, <span style="color: #ff0000;">"A_TOTCRED"</span>, <span style="color: #ff0000;">"FECALTA"</span>, <span style="color: #ff0000;">"REGHORA"</span> ;<br /><span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S12"</span></div>[/code:3ap73tuk][/quote:3ap73tuk] Hola Ing. Nages, hice la prueba como usted me indico, efectivamente si muestra bien los datos,cuando son columnas normales de esta manera: [code=fw:3ap73tuk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />           HEADERS <span style="color: #ff0000;">"Seg"</span>+CRLF+<span style="color: #ff0000;">"Negocio"</span>,<span style="color: #ff0000;">"Descripción"</span> ;<br />           COLUMNS  <span style="color: #ff0000;">"SEGNEG"</span>, <span style="color: #ff0000;">"DESCRIP"</span> ;<br />           SIZES <span style="color: #000000;">48</span>, <span style="color: #000000;">112</span> ;<br />           PICTURES <span style="color: #ff0000;">"9999"</span>, <span style="color: #ff0000;">"@S80"</span> ;<br />           <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S09"</span></div>[/code:3ap73tuk] Pero cuando hay una funcion dentro o unificar dos campos en una sola columna como del mensaje anterior del ejemplo e incluyendo si hay una funcion como del que NivCta(CUENTAS) y la funcion SdoIni(), se pierden los datos o no muestra nada, como este codigo : Y marca error : Sel_Cata.prg(52) Warning W0001 Ambiguous reference 'CUENTAS' [code=fw:3ap73tuk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oSBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">OF</span> oSDlg ;<br />           HEADERS <span style="color: #ff0000;">"Cuenta"</span>,<span style="color: #ff0000;">"Descripción"</span>,<span style="color: #ff0000;">"Saldo Ant"</span> ;<br />           COLUMNS  <span style="color: #000000;">&#123;</span> || Ext_xNiv<span style="color: #000000;">&#40;</span>CUENTAS<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #ff0000;">"DESCRIP"</span>, <span style="color: #000000;">&#123;</span> || Sdoini<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>  ;<br />           SIZES <span style="color: #000000;">114</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">80</span> ;<br />           PICTURES <span style="color: #ff0000;">"@!"</span>, <span style="color: #ff0000;">"@S50"</span>,<span style="color: #ff0000;">""</span> ;<br />           <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"S08"</span><br /> </div>[/code:3ap73tuk] Es por eso la necedad de usar (S08)->CUENTAS ó al menos que sea mi version que es 10.6 Cualquier solucion sera bienvenida. Saludos Ing. Nages . Atte: Adrian C. C.[/quote:3ap73tuk] Hola Ing. Nages , si hizo usted la prueba incrustando la funcion y anidando dos variables de campos ? y que vea su comportamiento del browse ? como le repito,con las columnas normales muestra bien los datos, pero si hay funcion como del ejemplo anterior y anidar dos variables de campos en una sola columna, se pierde los datos. Algun ejemplo y solucion y mejorar el browse a mi codigo.! Saludos y buen dia Nages.! Atte: Adrian C. C.
(b)TXBROWSE_SETRDD( 5001 ) error
Tengo el siguiente código [code=fw:17qk0bsz]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> nLoguin # <span style="color: #000000;">10</span><br />&nbsp; &nbsp; &nbsp; oMae:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"vendedor &nbsp;= oApp:nloguin"</span> &nbsp; <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">gotop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">beof</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;AAdd<span style="color: #000000;">&#40;</span> aObj, oMae <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;finarch<span style="color: #000000;">&#40;</span> aObj <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">define</span> <span style="color: #0000ff;">ICON</span> surge <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"icomega"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"DIALOG_2"</span> <span style="color: #0000ff;">ICON</span> surge<br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">cCaption</span> := <span style="color: #ff0000;">"Clientes"</span><br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">bgotfocus</span> := <span style="color: #000000;">&#123;</span>|| oMae:<span style="color: #0000ff;">activate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> SPLITTER oSplit<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #0000ff;">of</span> oDlg<br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> SPLITTER oSplit<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">111</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #0000ff;">of</span> oDlg<br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">xbrowse</span> oLbx;<br />&nbsp; &nbsp; &nbsp; COLUMNS Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NCLI <span style="color: #000000;">&#41;</span>, ; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Campos que contendr </span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NAPE <span style="color: #000000;">&#41;</span>, ; &nbsp; &nbsp; <span style="color: #B900B9;">// el TBrowse.</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->Domi, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->LOCA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->PCIA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->TELE, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->CUIT, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->IVA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->RUBRO, ;<br />&nbsp; &nbsp; &nbsp; Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->VENDEDOR <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> DBLCLICK &nbsp;CLIENTES<span style="color: #000000;">&#40;</span> oLbx, .F., oMae, oMemos, oDomcli, oClitrans, oVend, <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->ncli <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> &nbsp;<span style="color: #0000ff;">OF</span> oDlg;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style="color: #ff0000;">"Código"</span>, <span style="color: #ff0000;">"Cliente"</span>, <span style="color: #ff0000;">"Domicilio"</span>, <span style="color: #ff0000;">"Localidad"</span>, <span style="color: #ff0000;">"Provincia"</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Telefono"</span>, <span style="color: #ff0000;">"Cuit"</span>, <span style="color: #ff0000;">"Iva"</span>, <span style="color: #ff0000;">"Rubro"</span>, <span style="color: #ff0000;">"Vendedor"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLSIZES <span style="color: #000000;">60</span>, <span style="color: #000000;">210</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">160</span>, <span style="color: #000000;">90</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">180</span>, <span style="color: #000000;">60</span><br /><br />&nbsp; &nbsp;WITH OBJECT oLbx<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nMarqueeStyle</span> := <span style="color: #000000;">4</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nColDividerStyle</span> := LINESTYLE_BLACK<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nStretchCol</span> := STRETCHCOL_LAST<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lColDividerComplete</span> := .F.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">l2010</span> := .T.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lAllowColHiding</span> := .F.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lIncrFilter</span> &nbsp; &nbsp; &nbsp;:= .T.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lSeekWild</span> &nbsp; &nbsp; &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lIncrFilter</span> &nbsp; &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//:bKeyDown := {| nKey | If( nKey == K_ENTER, ( FCHOFER( oLbx, .f.,oCho),oDlg:end()), ) }</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nRowDividerStyle</span> :=<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nColDividerStyle</span> :=<span style="color: #000000;">2</span><br />&nbsp; &nbsp;END WITH<br /><br />etc etc<br /><br /><br />&nbsp;</div>[/code:17qk0bsz]
(b)TXBROWSE_SETRDD( 5001 ) error
Perdón [code=fw:2vx7lcqu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> nLoguin # <span style="color: #000000;">10</span><br />&nbsp; &nbsp; &nbsp; oMae:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"vendedor &nbsp;= oApp:nloguin"</span> &nbsp; <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">gotop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">beof</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;AAdd<span style="color: #000000;">&#40;</span> aObj, oMae <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;finarch<span style="color: #000000;">&#40;</span> aObj <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">define</span> <span style="color: #0000ff;">ICON</span> surge <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"icomega"</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"DIALOG_2"</span> <span style="color: #0000ff;">ICON</span> surge<br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">cCaption</span> := <span style="color: #ff0000;">"Clientes"</span><br />&nbsp; &nbsp;oDlg:<span style="color: #000000;">bgotfocus</span> := <span style="color: #000000;">&#123;</span>|| oMae:<span style="color: #0000ff;">activate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> SPLITTER oSplit<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #0000ff;">of</span> oDlg<br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> SPLITTER oSplit<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">111</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #0000ff;">of</span> oDlg<br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">xbrowse</span> oLbx;<br />&nbsp; &nbsp; &nbsp; COLUMNS Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NCLI <span style="color: #000000;">&#41;</span>, ; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Campos que contendr </span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NAPE <span style="color: #000000;">&#41;</span>, ; &nbsp; &nbsp; <span style="color: #B900B9;">// el TBrowse.</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->Domi, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->LOCA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->PCIA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->TELE, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->CUIT, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->IVA, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->RUBRO, ;<br />&nbsp; &nbsp; &nbsp; Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->VENDEDOR <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> DBLCLICK &nbsp;CLIENTES<span style="color: #000000;">&#40;</span> oLbx, .F., oMae, oMemos, oDomcli, oClitrans, oVend, <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->ncli <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> &nbsp;<span style="color: #0000ff;">OF</span> oDlg;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style="color: #ff0000;">"Código"</span>, <span style="color: #ff0000;">"Cliente"</span>, <span style="color: #ff0000;">"Domicilio"</span>, <span style="color: #ff0000;">"Localidad"</span>, <span style="color: #ff0000;">"Provincia"</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Telefono"</span>, <span style="color: #ff0000;">"Cuit"</span>, <span style="color: #ff0000;">"Iva"</span>, <span style="color: #ff0000;">"Rubro"</span>, <span style="color: #ff0000;">"Vendedor"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLSIZES <span style="color: #000000;">60</span>, <span style="color: #000000;">210</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">190</span>, <span style="color: #000000;">160</span>, <span style="color: #000000;">90</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">180</span>, <span style="color: #000000;">60</span><br /><br />&nbsp; &nbsp;WITH OBJECT oLbx<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nMarqueeStyle</span> := <span style="color: #000000;">4</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nColDividerStyle</span> := LINESTYLE_BLACK<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nStretchCol</span> := STRETCHCOL_LAST<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lColDividerComplete</span> := .F.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">l2010</span> := .T.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lAllowColHiding</span> := .F.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lIncrFilter</span> &nbsp; &nbsp; &nbsp;:= .T.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lSeekWild</span> &nbsp; &nbsp; &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lIncrFilter</span> &nbsp; &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//:bKeyDown := {| nKey | If( nKey == K_ENTER, ( FCHOFER( oLbx, .f.,oCho),oDlg:end()), ) }</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nRowDividerStyle</span> :=<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nColDividerStyle</span> :=<span style="color: #000000;">2</span><br />&nbsp; &nbsp;END WITH<br /><br />etc etc<br /><br /><span style="color: #00C800;">FUNCTION</span> clientes<span style="color: #000000;">&#40;</span> olbx, lnuevo, oMae, oMemos, oDomcli, oClitrans, oVend, nclia <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oDlgCli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Objeto que contendr  la Caja de Di logo.</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aivaa := tipoiva<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> ivaa := <span style="color: #ff0000;">"Inscripto"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lSalvar := .F.<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nRecno := <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">calias</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> RecNo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oData<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oRadio, norden, titu<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oNcli<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCedr<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oRubr<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oNape<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oDomi<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oLoca<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCpos<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oTele<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCuit<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oNtro<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oVtocedro<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oAte<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oSaldo<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oConsigna<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oProm<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oVen<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oPercibe, oRetiene, oSplit1<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nBut := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">10</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aPciaa := provin<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aPciadgi := DGIPROV<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> pciaa := <span style="color: #ff0000;">"Ciudad autónoma"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cPla := <span style="color: #ff0000;">"Contado"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oMem, oMem1, oMem2, oCufe<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oNroib<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oInv, surge<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oChex := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oFold<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cDato := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cDeposito := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cOficina := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aplazos := &nbsp;<span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Pago Anticipado"</span>,<span style="color: #ff0000;">"Contado"</span>, <span style="color: #ff0000;">"7 Días f/f"</span>, <span style="color: #ff0000;">"7 Días c/val"</span>, <span style="color: #ff0000;">"10 Días"</span>, <span style="color: #ff0000;">"10 Días C/Val"</span>, <span style="color: #ff0000;">"15 Días"</span>, <span style="color: #ff0000;">"15 Días C/val"</span>, <span style="color: #ff0000;">"21 Días f/f"</span>, <span style="color: #ff0000;">"21 Días c/val"</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"30 Días f/f"</span>, <span style="color: #ff0000;">"30 Días c/val"</span>, <span style="color: #ff0000;">"45 Días f/f"</span>, <span style="color: #ff0000;">"45 Días c/val"</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"60 Días f/f"</span>, <span style="color: #ff0000;">"60 Días c/val"</span>, <span style="color: #ff0000;">"90 días"</span>, <span style="color: #ff0000;">"90 días c/val"</span>, <span style="color: #ff0000;">"120 días"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aConvenio := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Local"</span>, <span style="color: #ff0000;">"Multilateral"</span>, <span style="color: #ff0000;">"Local Simplificado"</span>,<span style="color: #ff0000;">"No Inscripto"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cConvenio := <span style="color: #ff0000;">"Local"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> nvendedor := <span style="color: #000000;">0</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cConiva := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cCongan := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cConmono := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCos := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCombo := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oBrw, oBrw1<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oHasedro<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oMail, oBcc, oCC<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oDolar<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aDolar := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Libre"</span>, <span style="color: #ff0000;">"30 días"</span>, <span style="color: #ff0000;">"45 días"</span>, <span style="color: #ff0000;">"60 días"</span>, <span style="color: #ff0000;">"90 días"</span>, <span style="color: #ff0000;">"120 días"</span>, <span style="color: #ff0000;">"150 días"</span>, <span style="color: #ff0000;">"Nación"</span>, <span style="color: #ff0000;">"Especial"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> cDolar := <span style="color: #ff0000;">"Libre"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oSay<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aConstancia := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Activo"</span>, <span style="color: #ff0000;">"No Inscripto"</span>, <span style="color: #ff0000;">"Exento"</span>, <span style="color: #ff0000;">"No Alcanzado"</span>, <span style="color: #ff0000;">"Exento no alcanzado"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oFont1<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oVtopercibe<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lvercuit := .F. <span style="color: #B900B9;">//doy como inválido el número de cuit</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oPeret := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> oCosafip<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aCobro := Array<span style="color: #000000;">&#40;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aGetcobro := Array<span style="color: #000000;">&#40;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aFlds<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lNewcobro := .T.<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> aDomCob<br />&nbsp; &nbsp;<span style="color: #00C800;">LOCAL</span> lcobro := .f.<br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> := Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> := CToD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">" "</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span> := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span> := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">50</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; aCobro<span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span> := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; <span style="color: #B900B9;">// &nbsp;default napea := ""</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !pasaje<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"hasedro"</span> <span style="color: #000000;">&#41;</span>;RETURN <span style="color: #00C800;">nil</span>;ENDIF<br />&nbsp; &nbsp;DATABASE oHasedro<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> lnuevo := .F.<br /><br /><br /><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">seek</span><span style="color: #000000;">&#40;</span>nclia<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oData := oClone<span style="color: #000000;">&#40;</span> oMae <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oMae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> lnuevo<br />&nbsp; &nbsp; &nbsp; iif<span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> olbx <span style="color: #000000;">&#41;</span>, orden<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span>,olbx,oMae <span style="color: #000000;">&#41;</span>, oMae:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oMae:<span style="color: #000000;">gobottom</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; nclia := oData:<span style="color: #000000;">ncli</span><br />&nbsp; &nbsp; &nbsp; nvendedor := <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; iif<span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> olbx <span style="color: #000000;">&#41;</span>, orden<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span>,olbx,oData <span style="color: #000000;">&#41;</span>, oData:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oData:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; titu := <span style="color: #ff0000;">"Nuevo Cliente"</span><br />&nbsp; &nbsp; &nbsp; oData:<span style="color: #000000;">blank</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oData:<span style="color: #000000;">ti</span> &nbsp;= <span style="color: #ff0000;">"01"</span><br />&nbsp; &nbsp; &nbsp; oData:<span style="color: #000000;">ncli</span> := nclia + <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; oData:<span style="color: #000000;">pcia</span> := <span style="color: #ff0000;">"Ciudad autónoma"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> oMemos:<span style="color: #000000;">seek</span><span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cDato := oMemos:<span style="color: #000000;">informe</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cDeposito := oMemos:<span style="color: #000000;">deposito</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cOficina := oMemos:<span style="color: #000000;">oficina</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// oData:goto( nRecno )</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//oData:load()</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !Empty<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">tipoib</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cConvenio := aConvenio<span style="color: #000000;">&#91;</span> oData:<span style="color: #000000;">tipoib</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !Empty<span style="color: #000000;">&#40;</span> &nbsp;oData:<span style="color: #000000;">dolar</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cDolar := aDolar<span style="color: #000000;">&#91;</span> oData:<span style="color: #000000;">dolar</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; cConiva := vercond<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">constiva</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cCongan := vercond<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">constgan</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cConmono := vercond<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">constmono</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; nclia := oData:<span style="color: #000000;">ncli</span><br />&nbsp; &nbsp; &nbsp; aDomCob := NEWADRESS<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span>, aPciaa, oDomcli,, .T. <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; ivaa := oData:<span style="color: #000000;">iva</span><br />&nbsp; &nbsp; &nbsp; cPla := oData:<span style="color: #000000;">plazo</span><br />&nbsp; &nbsp; &nbsp; titu := <span style="color: #ff0000;">"Modificar Cliente"</span><br />&nbsp; &nbsp; &nbsp; nvendedor := oData:<span style="color: #000000;">vendedor</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> ValType<span style="color: #000000;">&#40;</span> oCobro <span style="color: #000000;">&#41;</span> = <span style="color: #ff0000;">"O"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCobro:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ncli &nbsp;== "</span> + Str<span style="color: #000000;">&#40;</span> nclia <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCobro:<span style="color: #000000;">gotop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> !Empty<span style="color: #000000;">&#40;</span>oCobro:<span style="color: #000000;">ncli</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcobro := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;oData:<span style="color: #000000;">setorder</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oHasedro:<span style="color: #000000;">gotop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp;oHasedro:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ncli == "</span> + Str<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont1 <span style="color: #0000ff;">NAME</span> GetSysFont<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">-14</span> bold<br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlgCli &nbsp;<span style="color: #0000ff;">RESOURCE</span> &nbsp;<span style="color: #ff0000;">"FOLD_CLI"</span> <span style="color: #0000ff;">ICON</span> surge<br /><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> FOLDEREX oFold <span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">oF</span> oDlgCli &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PROMPTS</span> <span style="color: #ff0000;">"General"</span>, <span style="color: #ff0000;">"Impuestos"</span>, <span style="color: #ff0000;">"Sedronar"</span>, <span style="color: #ff0000;">"Datos"</span>, <span style="color: #ff0000;">"Cobranza"</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">BITMAPS</span> <span style="color: #ff0000;">""</span>,<span style="color: #ff0000;">""</span>,<span style="color: #ff0000;">""</span>,<span style="color: #ff0000;">""</span>,IIF<span style="color: #000000;">&#40;</span>lcobro,<span style="color: #ff0000;">"B_ACEPTAR"</span>,<span style="color: #ff0000;">""</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">DIALOGS</span> <span style="color: #ff0000;">"fold_cli1"</span>, <span style="color: #ff0000;">"fold_cli2"</span>, <span style="color: #ff0000;">"fold_cli3"</span>, <span style="color: #ff0000;">"fold_cli4"</span>, <span style="color: #ff0000;">"fold_cli5"</span>;<br /><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">REDEFINE</span> URLLINK <span style="color: #0000ff;">ID</span> <span style="color: #000000;">400</span> URL <span style="color: #ff0000;">"www.afip.gov.ar"</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; TOOLTIP <span style="color: #ff0000;">"Sitio oficial AFIP"</span> &nbsp;<span style="color: #0000ff;">font</span> oFont1<br /><br />&nbsp; &nbsp;oDlgCli:<span style="color: #000000;">bgotfocus</span> := <span style="color: #000000;">&#123;</span>|| oData:<span style="color: #0000ff;">activate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oNcli <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">ncli</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">106</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oNape <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">nape</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">107</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">nape</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oDomi <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">domi</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">108</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">domi</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oLoca <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">LOCA</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">109</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">loca</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oCpos <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cpos</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">118</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">cpos</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCombo<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> &nbsp;oData:<span style="color: #000000;">pcia</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">items</span> aPciaa <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">valid</span> <span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">nropcia</span> := <span style="color: #000000;">&#40;</span> AScan<span style="color: #000000;">&#40;</span>aPciaa, pciaa <span style="color: #000000;">&#41;</span> <span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span>, oData:<span style="color: #000000;">pciadgi</span> := <span style="color: #000000;">&#40;</span> AScan<span style="color: #000000;">&#40;</span>aPciadgi, pciaa <span style="color: #000000;">&#41;</span> <span style="color: #000000;">-1</span> <span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oTele <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">tele</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">120</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">tele</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oCuit <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cuit</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"99-99999999-9"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">113</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> <span style="color: #000000;">&#40;</span> lvercuit := altacuit<span style="color: #000000;">&#40;</span> oData, lnuevo, <span style="color: #ff0000;">"maeclie"</span>, oDlgCli <span style="color: #000000;">&#41;</span>, actuacons<span style="color: #000000;">&#40;</span> oData,@cConiva, @cCongan, @cConmono, oCos, oPeret <span style="color: #000000;">&#41;</span>, lvercuit <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oConsigna <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">lconsigna</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oRubr <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">rubro</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">111</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oMail <span style="color: #0000ff;">id</span> <span style="color: #000000;">200</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"BT_MAIL"</span> <span style="color: #0000ff;">ACTION</span> &nbsp; correo<span style="color: #000000;">&#40;</span> oData:<span style="color: #0000ff;">mail</span>, oData:<span style="color: #000000;">cc</span>, oData:<span style="color: #000000;">bcc</span> <span style="color: #000000;">&#41;</span> NOBORDER &nbsp;TOOLTIP <span style="color: #ff0000;">"Enviar mail"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oCosafip <span style="color: #0000ff;">id</span> <span style="color: #000000;">202</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"LUPITA"</span> <span style="color: #0000ff;">ACTION</span> consaltafip<span style="color: #000000;">&#40;</span> oData, oDlgCli <span style="color: #000000;">&#41;</span> &nbsp;NOBORDER &nbsp;TOOLTIP <span style="color: #ff0000;">"Consultar datos registrados en afip"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oVen <span style="color: #0000ff;">VAR</span> nvendedor <span style="color: #0000ff;">id</span> <span style="color: #000000;">117</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> iif<span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">nloguin</span> = <span style="color: #000000;">10</span>, .T., <span style="color: #000000;">&#40;</span> nohay<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,nvendedor := oData:<span style="color: #000000;">vendedor</span>, oVen:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCombo<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> ivaa <span style="color: #0000ff;">id</span> <span style="color: #000000;">116</span> <span style="color: #0000ff;">items</span> aivaa &nbsp;<span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">valid</span> <span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ti</span> := StrZero<span style="color: #000000;">&#40;</span> AScan<span style="color: #000000;">&#40;</span>aivaa,ivaa <span style="color: #000000;">&#41;</span>,<span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">121</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">ACTION</span> AGRTRAN<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span>, oClitrans <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oAte <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">ate</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">128</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">127</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">ACTION</span> NEWADRESS<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span>, aPciaa, oDomcli <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cConiva <span style="color: #0000ff;">id</span> <span style="color: #000000;">114</span> <span style="color: #0000ff;">ITEMS</span> aConstancia <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">change</span><span style="color: #000000;">&#40;</span> grabcons<span style="color: #000000;">&#40;</span> &nbsp;cConiva <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span> &nbsp; &nbsp;<span style="color: #B900B9;">//grabcons &nbsp;solamente para que en harbour pase bien la variable</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cCongan <span style="color: #0000ff;">id</span> <span style="color: #000000;">115</span> <span style="color: #0000ff;">ITEMS</span> aConstancia <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">change</span> <span style="color: #000000;">&#40;</span> grabcons<span style="color: #000000;">&#40;</span> &nbsp;cCongan <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cConmono <span style="color: #0000ff;">id</span> <span style="color: #000000;">119</span> <span style="color: #0000ff;">ITEMS</span> aConstancia <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">change</span> <span style="color: #000000;">&#40;</span> grabcons<span style="color: #000000;">&#40;</span> &nbsp;cConmono <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">lexporta</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">500</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> <span style="color: #000000;">&#40;</span> oSay:<span style="color: #000000;">settext</span><span style="color: #000000;">&#40;</span> iif<span style="color: #000000;">&#40;</span>oData:<span style="color: #000000;">lexporta</span>,<span style="color: #ff0000;">"País"</span>,<span style="color: #ff0000;">"Localidad"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, oSay:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">lfaccre</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">145</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">201</span> &nbsp;<span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"b_AFIP"</span> <span style="color: #0000ff;">ACTION</span> consafip<span style="color: #000000;">&#40;</span> oData, .T. <span style="color: #000000;">&#41;</span> tooltip <span style="color: #ff0000;">"Clientes nuevos"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">SAY</span> oSay <span style="color: #0000ff;">id</span> <span style="color: #000000;">501</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">fibcapin</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@d"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">146</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">fibcapvt</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@d"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">147</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCombo<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cPla <span style="color: #0000ff;">id</span> <span style="color: #000000;">126</span> <span style="color: #0000ff;">items</span> aplazos <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">percibe</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">130</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">vtoper</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@d"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">134</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">retiene</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">131</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oSaldo <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">saldo</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999,999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">114</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oProm <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">promedio</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">115</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cobro</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">Ingbruto</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">124</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">facdol</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">125</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">remito</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">112</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">when</span> <span style="color: #000000;">&#40;</span> oApp:<span style="color: #000000;">nloguin</span> = <span style="color: #000000;">10</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">difcam</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">132</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">ibcapital</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">133</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">8</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">agreccap</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">135</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">9</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">ibjurcap</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">136</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">CHECKBOX</span> oChex<span style="color: #000000;">&#91;</span> <span style="color: #000000;">10</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">sinleyenda</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">145</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCombo<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> cConvenio <span style="color: #0000ff;">id</span> <span style="color: #000000;">141</span> &nbsp;<span style="color: #0000ff;">items</span> aConvenio <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">percap</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oPeret<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">retcap</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@e 999.99"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oNroib <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">nroibruto</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"xxxxxxxxxxxxxx"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">140</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #0000ff;">VALID</span> CampoNoVacio<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">nroibruto</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oDolar <span style="color: #0000ff;">VAR</span> cDolar <span style="color: #0000ff;">id</span> <span style="color: #000000;">106</span> &nbsp;<span style="color: #0000ff;">items</span> aDolar <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oCedr <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cedronar</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oVtocedro &nbsp;<span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">vtocedro</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oInv <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">inv</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> SPLITTER oSplit1 &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">107</span> <span style="color: #0000ff;">COLOR</span> rgb<span style="color: #000000;">&#40;</span> <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span>, <span style="color: #000000;">234</span> <span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;_3DLOOK<br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oCufe <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cufe</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">108</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">LISTBOX</span> oBrw FIELDS Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oHasedro:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->codigo, <span style="color: #000000;">5</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span> oHasedro:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->producto <span style="color: #0000ff;">ID</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">aheaders</span> := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Código"</span>, <span style="color: #ff0000;">"Producto"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">aColSizes</span> := <span style="color: #000000;">&#123;</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">210</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//oBrw:bSkip = {| nRecs | oHasedro:Skipper( nRecs ) }</span><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">nLineStyle</span> := <span style="color: #000000;">3</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">nClrBackFocus</span> := CLR_CYAN<br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">nClrForeFocus</span> := CLR_WHITE<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">ACTION</span> fsedron<span style="color: #000000;">&#40;</span> oBrw, oHasedro, oData:<span style="color: #000000;">ncli</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">106</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">ACTION</span> borro<span style="color: #000000;">&#40;</span> oBrw, oHasedro, nRecno, oData <span style="color: #000000;">&#41;</span><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oMem <span style="color: #0000ff;">VAR</span> cDato MEMO <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Datos varios del cliente"</span> <span style="color: #0000ff;">UPDATE</span>;<br />&nbsp; &nbsp; &nbsp; MULTILINE<br />&nbsp; &nbsp;oMem:<span style="color: #000000;">SetSel</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oMem1 <span style="color: #0000ff;">VAR</span> cDeposito MEMO <span style="color: #0000ff;">ID</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Datos Para depósito"</span> <span style="color: #0000ff;">UPDATE</span>;<br />&nbsp; &nbsp; &nbsp; MULTILINE<br />&nbsp; &nbsp;oMem1:<span style="color: #000000;">SetSel</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oMem2 <span style="color: #0000ff;">VAR</span> cOficina MEMO <span style="color: #0000ff;">ID</span> <span style="color: #000000;">106</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Datos útiles para oficina envíos"</span> <span style="color: #0000ff;">UPDATE</span>;<br />&nbsp; &nbsp; &nbsp; MULTILINE<br />&nbsp; &nbsp;oMem2:<span style="color: #000000;">SetSel</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oMail <span style="color: #0000ff;">VAR</span> oData:<span style="color: #0000ff;">mail</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@s"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> &nbsp; <span style="color: #B900B9;">// valid revisamail(oData:mail)</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oCC <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">cc</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@s"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> &nbsp;<span style="color: #B900B9;">// valid revisamail(oData:cc)</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oBcc <span style="color: #0000ff;">VAR</span> oData:<span style="color: #000000;">bcc</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@s"</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">update</span> <span style="color: #B900B9;">// valid revisamail(oData:bcc)</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">/////////////////////////COBRANZAS//////////////////</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> DTPICKER aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@D"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">101</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> DTPICKER aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@D"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">103</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span><span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">104</span> <span style="color: #0000ff;">items</span> aDomCob &nbsp;<span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@!"</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> aGetcobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">VAR</span> aCobro<span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span> &nbsp;<span style="color: #0000ff;">id</span> <span style="color: #000000;">109</span> <span style="color: #0000ff;">items</span> aVend &nbsp;<span style="color: #0000ff;">oF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">update</span><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">9</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">107</span> <span style="color: #0000ff;">ACTION</span> grabocobro<span style="color: #000000;">&#40;</span> oBrw1, aCobro, oCobro, aGetcobro, oData:<span style="color: #000000;">ncli</span>, lNewcobro <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">10</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">106</span> <span style="color: #0000ff;">ACTION</span> borrocobro<span style="color: #000000;">&#40;</span> oBrw1, aCobro, oCobro, aGetcobro, oData:<span style="color: #000000;">ncli</span>, lNewcobro <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw1 <span style="color: #0000ff;">id</span> <span style="color: #000000;">108</span> &nbsp;<span style="color: #0000ff;">OF</span> oFold:<span style="color: #000000;">adialogs</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style="color: #ff0000;">"pasar"</span>, <span style="color: #ff0000;">"direccion"</span>, <span style="color: #ff0000;">"cobrador"</span> HEADERS <span style="color: #ff0000;">"Pasar"</span>, <span style="color: #ff0000;">"Direccion"</span>, <span style="color: #ff0000;">"Cobrador"</span> ;<br />&nbsp; &nbsp; &nbsp; object oCobro AUTOSORT CELL LINES NOBORDER <span style="color: #0000ff;">ON</span> &nbsp;DBLCLICK <span style="color: #000000;">&#40;</span> lNewcobro := editar<span style="color: #000000;">&#40;</span> oCobro,aCobro,aGetcobro <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//"pasar","direccion","cobrador"</span><br />&nbsp; &nbsp;WITH OBJECT oBrw1<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">lIncrFilter</span> &nbsp; := .T.<br />&nbsp; &nbsp; &nbsp; :<span style="color: #000000;">nStretchCol</span> &nbsp; := STRETCHCOL_WIDEST<br />&nbsp; &nbsp;END<br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">105</span> <span style="color: #0000ff;">oF</span> oDlgCli &nbsp;<span style="color: #0000ff;">ACTION</span>;<br />&nbsp; &nbsp; &nbsp; iif<span style="color: #000000;">&#40;</span> ACEPTAR<span style="color: #000000;">&#40;</span> oData,lnuevo, cConiva, cCongan, cConmono,cPla, nvendedor, aConvenio,cConvenio,ivaa, pciaa, aDolar, cDolar, cDato,cDeposito, cOficina, oMemos <span style="color: #000000;">&#41;</span>, oDlgCli:<span style="color: #000000;">end</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//(lSalvar := .T. )</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">106</span> <span style="color: #0000ff;">oF</span> oDlgCli &nbsp; <span style="color: #0000ff;">ACTION</span><span style="color: #000000;">&#40;</span> oDlgCli:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> &nbsp;CANCEL<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">122</span> <span style="color: #0000ff;">oF</span> oDlgCli <span style="color: #0000ff;">when</span> <span style="color: #000000;">&#40;</span> iif<span style="color: #000000;">&#40;</span> lnuevo,nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span>, .T. <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> &nbsp;ctacli<span style="color: #000000;">&#40;</span> oData:<span style="color: #000000;">ncli</span>, oData:<span style="color: #000000;">nape</span>,.F. <span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">id</span> <span style="color: #000000;">102</span> <span style="color: #0000ff;">oF</span> oDlgCli <span style="color: #0000ff;">resource</span> <span style="color: #ff0000;">"FIND3"</span> <span style="color: #0000ff;">ACTION</span> responsable<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"01"</span>, oData:<span style="color: #000000;">ncli</span> <span style="color: #000000;">&#41;</span> NOBORDER<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> oApp:<span style="color: #000000;">privado</span> &nbsp;!= <span style="color: #ff0000;">"1"</span><br />&nbsp; &nbsp; &nbsp; nBut<span style="color: #000000;">&#91;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// REDEFINE BUTTON nbut[4] ID 123 of oDlgcli ACTION(MEMCLI(odata:ncli))</span><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgCli <span style="color: #0000ff;">CENTER</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span> oSay:<span style="color: #000000;">settext</span><span style="color: #000000;">&#40;</span> iif<span style="color: #000000;">&#40;</span>oData:<span style="color: #000000;">lexporta</span>,<span style="color: #ff0000;">"País"</span>,<span style="color: #ff0000;">"Localidad"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>,oNcli:<span style="color: #000000;">setfocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, .F. <span style="color: #000000;">&#41;</span><br /><br /><br /><br />&nbsp; &nbsp;oFont1:<span style="color: #000000;">end</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oHasedro:<span style="color: #000000;">setfilter</span><span style="color: #000000;">&#40;</span> <span style="color: #00C800;">NIL</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;cierroalias<span style="color: #000000;">&#40;</span> oHasedro:<span style="color: #000000;">cAlias</span>, oHasedro <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;sysrefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">try</span><br />&nbsp; &nbsp; &nbsp;iif<span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> olbx <span style="color: #000000;">&#41;</span>, olbx:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, &nbsp;<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Repintamos el objeto ListBox</span><br />&nbsp; &nbsp;catch<br />&nbsp; &nbsp;end<br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br />&nbsp;</div>[/code:2vx7lcqu] si hago dblclick para abrir un cliente en especial lo abre sin problema lo hago nuevamente con cualquier otro y también sin problemas pero al hacerlo de nuevo sale del programa con este error [code=fw:2vx7lcqu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">K</span>:\fivexhar2\fivehar.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">Size</span>: <span style="color: #000000;">6</span>,<span style="color: #000000;">572</span>,<span style="color: #000000;">544</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1806032230<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">17.09</span><br />&nbsp; &nbsp;C compiler version: <span style="color: #000000;">Borland</span>/Embarcadero C++ <span style="color: #000000;">7.3</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Windows version: <span style="color: #000000;">6.2</span>, Build <span style="color: #000000;">9200</span> <br /><br />&nbsp; &nbsp;Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">9</span> secs <br />&nbsp; &nbsp;Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">25</span>/<span style="color: #000000;">01</span>/<span style="color: #000000;">2020</span>, <span style="color: #000000;">20</span>:<span style="color: #000000;">37</span>:<span style="color: #000000;">48</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> DBCMD/<span style="color: #000000;">2001</span> &nbsp;Area de trabajo no usada: <span style="color: #000000;">ORDKEYNO</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> ORDKEYNO<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE_SETRDD<span style="color: #000000;">&#40;</span> <span style="color: #000000;">5001</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">501</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">KEYNO</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">602</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">VUPDATEPOS</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">497</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">KEYCOUNT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #0000ff;">REFRESH</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1650</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">LBUTTONUP</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">4421</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1721</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">10242</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3348</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> WINRUN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TMDIFRAME:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1037</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">origen</span>.prg => ORIGEN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">260</span> <span style="color: #000000;">&#41;</span><br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: <span style="color: #000000;">AMD</span> Athlon<span style="color: #000000;">&#40;</span>tm<span style="color: #000000;">&#41;</span> II X2 <span style="color: #000000;">245</span> Processor <span style="color: #000000;">2913</span> Mhz<br />&nbsp; &nbsp;Hardware memory: <span style="color: #000000;">3327</span> megs<br /><br />&nbsp; &nbsp;Free System resources: <span style="color: #000000;">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: <span style="color: #000000;">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: <span style="color: #000000;">90</span> %<br /><br />&nbsp; &nbsp;Windows total applications running: <span style="color: #000000;">7</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</span> , &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">2</span> , C:\WINDOWS\System32\shcore.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">3</span> , C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6<span style="color: #000000;">.0</span><span style="color: #000000;">.18362</span>.592_none_2e6de86 <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">4</span> , K:\fivexhar2\fivehar.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">5</span> DDE <span style="color: #00C800;">Server</span> <span style="color: #0000ff;">Window</span>, C:\WINDOWS\System32\ole32.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">6</span> G, C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style="color: #000000;">.1</span><span style="color: #000000;">.18362</span>.592_none_5f58db4d822160d <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">7</span> Program Manager, C:\WINDOWS\System32\SHELL32.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;ORDKEYNO<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">ERROR</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE_SETRDD<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TXBROWSE:<span style="color: #000000;">KEYNO</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<br />&nbsp; &nbsp;TXBROWSE:<span style="color: #000000;">VUPDATEPOS</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<br />&nbsp; &nbsp;TXBROWSE:<span style="color: #000000;">KEYCOUNT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp;TXBROWSE:<span style="color: #0000ff;">REFRESH</span><br />&nbsp; &nbsp;TXBROWSE:<span style="color: #000000;">LBUTTONUP</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">242</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">291</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0.02</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">6</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">7</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">8</span>: &nbsp; &nbsp;<span style="color: #000000;">C</span> &nbsp; &nbsp;<span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;TXBROWSE:<span style="color: #000000;">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">15860003</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">15860003</span><br />&nbsp; &nbsp;WINRUN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">15860003</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">15860003</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">23</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TXBROWSE</span><br />&nbsp; &nbsp;TMDIFRAME:<span style="color: #0000ff;">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">853384</span><br />&nbsp; &nbsp;ORIGEN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">C</span> &nbsp; &nbsp;<span style="color: #ff0000;">"MAXIMIZED"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">6</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">7</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">8</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">9</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">10</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">11</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">12</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">13</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">14</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">15</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">16</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">17</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">18</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">19</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">20</span>: &nbsp; &nbsp;<span style="color: #000000;">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDIFRAME</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br /><br />Linked RDDs<br />===========<br />&nbsp; &nbsp;DBF<br />&nbsp; &nbsp;DBFFPT<br />&nbsp; &nbsp;DBFBLOB<br />&nbsp; &nbsp;DBFCDX<br />&nbsp; &nbsp;DBFNTX<br /><br />DataBases in use<br />================<br /><br />&nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">DATOS</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RddName: <span style="color: #000000;">DBFCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">339</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">739</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .F.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; => ncli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DATCLI<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />&nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">DOMCLI</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RddName: <span style="color: #000000;">DBFCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">315</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">572</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .F.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; => ncli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLIENTE<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />&nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">CLITRANS</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RddName: <span style="color: #000000;">DBFCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">916</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .F.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; => ncli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NCLIENTE<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />&nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">COBRO</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RddName: <span style="color: #000000;">DBFCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">36</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">35</span> &nbsp; &nbsp; &nbsp;.T. &nbsp; .T.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ncli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NCLIENTE<br />&nbsp; &nbsp; &nbsp; &nbsp; => pasar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DFECHA<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />&nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">MAEVEN</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RddName: <span style="color: #000000;">DBFCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">18</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">17</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .T.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NCHO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NROVEN<br />&nbsp; &nbsp; &nbsp; &nbsp; => NAPE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; APEVEN<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />Classes in use:<br />===============<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">1</span> ERROR<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">2</span> HBCLASS<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">3</span> HBOBJECT<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">4</span> TAPPLICATION<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">5</span> TDATABASE<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">6</span> TWINDOW<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">7</span> TCONTROL<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">8</span> TGET<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">9</span> TCURSOR<br />&nbsp; &nbsp; <span style="color: #000000;">10</span> TFONT<br />&nbsp; &nbsp; <span style="color: #000000;">11</span> TDIALOG<br />&nbsp; &nbsp; <span style="color: #000000;">12</span> TBRUSH<br />&nbsp; &nbsp; <span style="color: #000000;">13</span> TCOMBOBOX<br />&nbsp; &nbsp; <span style="color: #000000;">14</span> <span style="color: #0000ff;">GET</span><br />&nbsp; &nbsp; <span style="color: #000000;">15</span> TCLIPGET<br />&nbsp; &nbsp; <span style="color: #000000;">16</span> TBUTTON<br />&nbsp; &nbsp; <span style="color: #000000;">17</span> TRECT<br />&nbsp; &nbsp; <span style="color: #000000;">18</span> TICON<br />&nbsp; &nbsp; <span style="color: #000000;">19</span> TMDIFRAME<br />&nbsp; &nbsp; <span style="color: #000000;">20</span> TMENU<br />&nbsp; &nbsp; <span style="color: #000000;">21</span> TREG32<br />&nbsp; &nbsp; <span style="color: #000000;">22</span> TMENUITEM<br />&nbsp; &nbsp; <span style="color: #000000;">23</span> TMDICLIENT<br />&nbsp; &nbsp; <span style="color: #000000;">24</span> TMSGBAR<br />&nbsp; &nbsp; <span style="color: #000000;">25</span> TMSGITEM<br />&nbsp; &nbsp; <span style="color: #000000;">26</span> TTIMER<br />&nbsp; &nbsp; <span style="color: #000000;">27</span> TBAR<br />&nbsp; &nbsp; <span style="color: #000000;">28</span> TBTNBMP<br />&nbsp; &nbsp; <span style="color: #000000;">29</span> TBITMAP<br />&nbsp; &nbsp; <span style="color: #000000;">30</span> TIMAGE<br />&nbsp; &nbsp; <span style="color: #000000;">31</span> TSPLITTER<br />&nbsp; &nbsp; <span style="color: #000000;">32</span> TXBROWSE<br />&nbsp; &nbsp; <span style="color: #000000;">33</span> TRADMENU<br />&nbsp; &nbsp; <span style="color: #000000;">34</span> TRADIO<br />&nbsp; &nbsp; <span style="color: #000000;">35</span> TSCROLLBAR<br />&nbsp; &nbsp; <span style="color: #000000;">36</span> TXBRWCOLUMN<br />&nbsp; &nbsp; <span style="color: #000000;">37</span> TCLIPBOARD<br />&nbsp; &nbsp; <span style="color: #000000;">38</span> TFOLDEREX<br />&nbsp; &nbsp; <span style="color: #000000;">39</span> TSTRUCT<br />&nbsp; &nbsp; <span style="color: #000000;">40</span> TURLLINK<br />&nbsp; &nbsp; <span style="color: #000000;">41</span> TCHECKBOX<br />&nbsp; &nbsp; <span style="color: #000000;">42</span> TSAY<br />&nbsp; &nbsp; <span style="color: #000000;">43</span> TWBROWSE<br />&nbsp; &nbsp; <span style="color: #000000;">44</span> TMULTIGET<br />&nbsp; &nbsp; <span style="color: #000000;">45</span> TDATEPICK<br /><br />Memory Analysis<br />===============<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">1341</span> <span style="color: #00C800;">Static</span> variables<br /><br />&nbsp; &nbsp;Dynamic memory consume:<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">Actual</span> &nbsp;Value: &nbsp; &nbsp;<span style="color: #000000;">4456448</span> bytes<br />&nbsp; &nbsp; &nbsp; Highest Value: &nbsp; &nbsp;<span style="color: #000000;">4456448</span> bytes<br /><br />&nbsp;</div>[/code:2vx7lcqu] Estuve buscando lo que encontre con el mismo problema es con ads, yo utilizo dbf. Gracias y cualquier ayuda es buena Luis
(b)TXBROWSE_SETRDD( 5001 ) error
A nadie le paso esto. Si pruebo con una versión anterior de fwh funciona. Luis L
(b)TXBROWSE_SETRDD( 5001 ) error
[code=fw:3uhu5cyw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />REQUEST OrdKeyNo, OrdKeyCount, OrdCreate, OrdKeyGoto &nbsp;<span style="color: #B900B9;">// para listbox.</span><br />&nbsp;</div>[/code:3uhu5cyw] Muestra: [code=fw:3uhu5cyw]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">origen</span>.prg => ORIGEN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">260</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// lýnea?: 260 que hace?</span><br /> </div>[/code:3uhu5cyw]
(b)TXBROWSE_SETRDD( 5001 ) error
Hola Karinha [code=fw:3sbk1wia]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"INTERNET"</span> <span style="color: #0000ff;">OF</span> oBar  GROUP;<br />         TOOLTIP <span style="color: #ff0000;">"Direcciones Útles  "</span>;<br />         <span style="color: #0000ff;">ACTION</span> BUSCOIB<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ;<br />         <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Direcciones útiles..."</span> NOBORDER<br /><br /><br />     @ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">IMAGE</span> oBmp <span style="color: #0000ff;">SIZE</span> GetSysMetrics<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>  <span style="color: #000000;">&#41;</span>,GetSysMetrics<span style="color: #000000;">&#40;</span> <span style="color: #000000;">17</span>  <span style="color: #000000;">&#41;</span>  <span style="color: #0000ff;">of</span> oVentPrinc:<span style="color: #000000;">oWndClient</span> NO BORDER <span style="color: #0000ff;">ADJUST</span><br /><br /><br />      oBmp:<span style="color: #0000ff;">Progress</span><span style="color: #000000;">&#40;</span> .f. <span style="color: #000000;">&#41;</span><br />      oBmp:<span style="color: #000000;">LoadImage</span><span style="color: #000000;">&#40;</span> , <span style="color: #ff0000;">"fondomeg.jpg"</span> <span style="color: #000000;">&#41;</span>                 <span style="color: #B900B9;">//LINEA 260</span><br /><br />  <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oVentPrinc <span style="color: #0000ff;">MAXIMIZED</span><br /><br /> </div>[/code:3sbk1wia] Es la pantalla principal
(b)TXBROWSE_SETRDD( 5001 ) error
Disculpa se me salio del topic anterior. Con fwh 15 funciona mas o menos bien pero me topé con el problema de la lentidud de la busqueda de xbrowse (no se como se denomina a la busqueda por contenido del campo a tratar), así que lo deje con el browse de hernan y la busqueda con dbfseek que esta en la clase y funciona muy bien. Voy a ver si puedo hacer algo para utilizarlo, asi que seguramente estaré preguntando Luis
(b)TXBROWSE_SETRDD( 5001 ) error
[url:21ghynje]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=35515&p=211673&hilit=oBmp%3ALoadImage#p211673[/url:21ghynje]
(b)TXBROWSE_SETRDD( 5001 ) error
Bueno pude solucionar la busqueda incremental del xbrowse, lo que hice fue en vez de trabajar sobre la base de datos utilizo Fw_dbftoarraY() y el xbrowse muestra este array y ahí sí es rapidísimo. Muchas gracias al foro ya que la solución la encontre en la consulta de los distintas consultas. Luis
(b)TXBROWSE_SETRDD( 5001 ) error
This is not correct: [code=fw:3fkvi8ta]<div class="fw" id="{CB}" style="font-family: monospace;">     COLUMNS Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NCLI <span style="color: #000000;">&#41;</span>, ;        <span style="color: #B900B9;">// Campos que contendr </span><br />      <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->NAPE <span style="color: #000000;">&#41;</span>, ;     <span style="color: #B900B9;">// el TBrowse.</span><br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->Domi, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->LOCA, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->PCIA, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->TELE, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->CUIT, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->IVA, ;<br />      <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->RUBRO, ;<br />      Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> oMae:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span>->VENDEDOR <span style="color: #000000;">&#41;</span>;<br /> </div>[/code:3fkvi8ta] This is correct: [code=fw:3fkvi8ta]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> ???? DATASOURCE oMae ;<br />COLUMNS <span style="color: #ff0000;">"NCLI"</span>, <span style="color: #ff0000;">"NAPE"</span>, <span style="color: #ff0000;">"DOMI"</span>, <span style="color: #ff0000;">"LOCA"</span>, <span style="color: #ff0000;">"PCIA"</span>, <span style="color: #ff0000;">"TELE"</span>, <span style="color: #ff0000;">"CUIT"</span>, <span style="color: #ff0000;">"IVA"</span>, <span style="color: #ff0000;">"RUBRO"</span>, <span style="color: #ff0000;">"VENDEDOR"</span><br /> </div>[/code:3fkvi8ta]
(b)TXBROWSE_SETRDD( 5001 ) error
Thanks Mr Rao, I will change the code. Luis
(b)TXBROWSE_SETRDD( 5001 ) error
With this modification of my code, the error that gave rise to this post no longer gives Thank you
(colaboracion mia) Resuvido (2da vez)
Hola, Me he topado con que la vez que tengo que armar un browser pierdo cierto tiempo que me parece que se lo podía achicar, por eso me mande a hacer esta libreria y espero que la puedan utilizar y modificar en lo quieran, siempre que por favor no se complique porque perdería la función inicial del porque lo hice. el codigo no esta muy comentado porque no es muy complicado, si las DATA y METHOD que me parecieron correctos hacerlos. [url:2ku00ket]http&#58;//rapidshare&#46;com/files/220655259/tpadron&#46;rar&#46;html[/url:2ku00ket] Gracias.
(colaboracion mia) Resuvido (2da vez)
Hola, me pareció interesante tu contribución, ya que lo mismo me pasa a mí, pero no pude bajarla, podrás subirla a otro hosting como por ejemplo box.net que no tenga límite de bajadas? Gracias desde ya por tu buena voluntad en contribuir a esta comunidad. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
(colaboracion mia) Resuvido (2da vez)
[quote="jose_murugosa":2li5glaa]Hola, me pareció interesante tu contribución, ya que lo mismo me pasa a mí, pero no pude bajarla, podrás subirla a otro hosting como por ejemplo box.net que no tenga límite de bajadas? Gracias desde ya por tu buena voluntad en contribuir a esta comunidad. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->[/quote:2li5glaa] No me esta dejando subirla a box.net voy a buscar otro servidor. Gracias.
(colaboracion mia) Resuvido (2da vez)
[quote="jose_murugosa":3940apq1]Hola, me pareció interesante tu contribución, ya que lo mismo me pasa a mí, pero no pude bajarla, podrás subirla a otro hosting como por ejemplo box.net que no tenga límite de bajadas? Gracias desde ya por tu buena voluntad en contribuir a esta comunidad. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->[/quote:3940apq1] ------------------- // ---------------------- Agregue una columna (la primera) porque me parece mas facil para poder recuperar los datos desde la app desde donde se la esta llamando a la librería (en las primeras lineas de comentarios va un historial de lo que voy cambiando). [url:3940apq1]http&#58;//files&#46;filefront&#46;com/tpadronrar/;13593839;/fileinfo&#46;html[/url:3940apq1] Gracias.
(colaboracion mia) Resuvido (2da vez)
Amigo, Goos, solo una pregunta, usas tmysql ? gracias por tu aportacion. saludos..
(colaboracion mia) Resuvido (2da vez)
[quote="sysctrl2":2nd596fg]Amigo, Goos, solo una pregunta, usas tmysql ? gracias por tu aportacion. saludos..[/quote:2nd596fg] Si si. sin modificaciones. la que esta para bajar en xharbour en la parte contribuciones.
(colaboracion mia) Resuvido (2da vez)
hoo excelente, muy buen aporte, gracias...
(soy nuevo) incursionando ""harbour""
Buen dia. Gente, por favor hagan un esfuercito y pasenme un ejemplo tanto con el bat, msk, etc de un proyecto para FW + harbour (hasta el momento solo estaba con xhabour, pero como pienso actualizarme de version de FW y empezar a incursionar el harbour...) hace un tiempo hice una aplicacion para crear el SCRIPT y nunca mas lo toque, ahora que quiero comenzar con harbour quiero modificarlo para poder soportar la creacion del script para FW + HARBOUR. Gracias.
(soy nuevo) incursionando ""harbour""
Gustavo, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=29272">viewtopic.php?f=6&t=29272</a><!-- l -->
(soy nuevo) incursionando ""harbour""
gracias
(soy nuevo) incursionando ""harbour""
Por lo que puedo ver, a no ser que me equivoque, lo unico que cambiar son las lib. El resto (incluido el linkeo) es lo mismo. Es asi?
(soy nuevo) incursionando ""harbour""
Si
(x)Harbour including CRUL
Hello friends, is there a download for a xHarbour or Harbour including CURL with a makefile ready. Thank you in advance and best regards, Otto
(x)Harbour including CRUL
Dear Otto, We have a Harbour builder repo in github that provides the builds and also allows to generate the latest build, as Harbour gets built from github itself [url:1x9arymw]https&#58;//github&#46;com/FiveTechSoft/Harbour_builder[/url:1x9arymw]
(x)Harbour including CRUL
Antonio, the landing page lacks main content. I found it at: <!-- m --><a class="postlink" href="https://github.com/FiveTechSoft/Harbour_builder">https://github.com/FiveTechSoft/Harbour_builder</a><!-- m -->
(x)Harbour including CRUL
André, Many thanks, yes, thats the right URL <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
(x)Harbourd para FWH 2.6 abril
Hola, si alguien me puede decir donde descargar la version compatible de (x)Harbourd para FWH 2.6 abril, busque en las utilidades y no encontre, la otra ves consegui donde estaba un historial de versiones anteriores pero olvide donde, gracias desde ya y FELICES FIESTAS DE NAVIDAD!
(x)Harbourd para FWH 2.6 abril
Jose Luis, Mira aqui: <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=2486">http://fivetechsoft.com/forums/viewtopic.php?t=2486</a><!-- m -->
(x)Harbourd para FWH 2.6 abril
Gracias master, ese mismo era...
(x)harbour class - destroy method
I see some classes in FWH have a method by name Destroy(). If we name a method as Destroy, will it be called automatically, when the object goes out of reference ? xharbour documentation mentions about DESTROYER method. Does it also called automatically? Can any one clarify please?
(x)harbour class - destroy method
Nageswararao, > I see some classes in FWH have a method by name Destroy(). If we name a method as Destroy, will it be called automatically, when the object goes out of reference ? > FWH automatically calls method Destroy() when a windows msg WM_DESTROY arrives: <!-- m --><a class="postlink" href="http://msdn2.microsoft.com/en-us/library/ms632620.aspx">http://msdn2.microsoft.com/en-us/library/ms632620.aspx</a><!-- m --> > xharbour documentation mentions about DESTROYER method. Does it also called automatically? > FWH does not uses those methods, in order to have full control of what it is happening in the application
(x)harbour class - destroy method
I have some related doubts about releasing objects like fonts, brushes etc. Normally I place the commands release fonts and other objects after the main (mdi) window's activate command. Example [code:1s81s11v] func main&#40;&#41; define window ownd MDI &#46;&#46;&#46;&#46; &#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46; activate window ownd release font &#46;&#46;&#46; release brush &#46;&#46;&#46; return 0 [/code:1s81s11v] 1) IF somewhere in one of the modules if we call WndMain():End(), does the control go to the statements after the main window's activate command and execute all release commands? 2) If somewhere in one of the modules if we issue the statement QUIT, is there the danger that the resources are not destroyed/ released? if so, is it good to keep the release statements in the EXIT PROCEDURE ? Or is it desirable that all FWH classes for the resources have a destroy method, so that all the resources are destryoyed / released when the program terminates?
(x)harbour class - destroy method
[quote="nageswaragunupudi":1wmrvsbb]1) IF somewhere in one of the modules if we call WndMain():End(), does the control go to the statements after the main window's activate command and execute all release commands?[/quote:1wmrvsbb] Yes. [quote="nageswaragunupudi":1wmrvsbb]2) If somewhere in one of the modules if we issue the statement QUIT, is there the danger that the resources are not destroyed/ released?[/quote:1wmrvsbb] Yes. Example: [code:1wmrvsbb]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oWnd DEFINE WINDOW oWnd @ 1, 1 BUTTON "Test"; SIZE 100, 20; ACTION oWnd&#58;End&#40;&#41; //MYQUIT&#40;&#41; ACTIVATE WINDOW oWnd ? "Exiting" RETURN NIL STATIC FUNCTION MYQUIT&#40;&#41; QUIT RETURN NIL[/code:1wmrvsbb] [quote="nageswaragunupudi":1wmrvsbb]if so, is it good to keep the release statements in the EXIT PROCEDURE ?[/quote:1wmrvsbb] How an EXIT PROCEDURE could see all the variables used in the app for keeping reference of font, brush, etc.? It seem a bad idea. Maybe the easier solution is to not use QUIT at all. EMG
(x)harbour class - destroy method
Nageswararao, Enrico, > Maybe the easier solution is to not use QUIT at all. Right. QUIT should not be used at all.
(x)harbour svn changes
Hi, after last changes in xharbour svn, i cant compile, someone can help me? i use : svn.exe co <!-- m --><a class="postlink" href="https://xharbour.svn.sourceforge.net/svnroot/xharbour">https://xharbour.svn.sourceforge.net/svnroot/xharbour</a><!-- m --> , but cant compile the bin. thanks
** ListBox column in the XBROWSE
** ListBox column in the XBROWSE When ListBox column get focused in the XBROWSE control and user select one of an Item from the list by pressing Entry key the control focus is moving to the GET item ( aGET[1] ) whereas the control focus should get next column of the XBROWSE. Please guide me. I am new to FWH. thanks in advance. Sample Code here : procedure billentry local aGet := array(5) local oBrw local aBill := {'Floppy','Pcs', 10, 40} local cCustName := space(30) define dailoag oDlg from 0,0 to 24,79 title "List Box Test" @10,10 get aGet[1] var cCustName pict "@!" @20,05 XBROWSE oBrw ; COLUMNS 1,2,3,4,5 ; HEADERS 'Item','Unit','Qty','Rate'; SIZE 200,100 OF oDlg WITH OBJECT oBrw:Unit :nEditType := EDIT_LISTBOX :aEditTxtList := {"BOX","PCS","DOZ"} END oBrw:createfromcode() // ... some other code to attach to oDlg active window oDlg on init oBrw:setfoucs() return nil
** ListBox column in the XBROWSE
Shridhar, Please try it this way: [code=fw:3tuqigag]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">Setfocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ADel<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">aControls</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, .F. <span style="color: #000000;">&#41;</span><br /> </div>[/code:3tuqigag]
** ListBox column in the XBROWSE
The same problem facing even after adding this code. I will send the exact source. thanks in advance.
** ListBox column in the XBROWSE
Mr. Shri Can you post here simple code, that compiles correctly and runs without runtime errors?
** ListBox column in the XBROWSE
Hi Nagesh, I am sorry too late for post the code. I was busy in office project. Please see below source code. Problem description : Navigation between GET and TXBRowse control. In the below code first control focus goes to GET object ( cAccountName ) and it moves to TXBRowse Control. When user select an item and enter Rate value after the control moves to List Box Column (KG,BOX,PCS). Here when user select an item form ListBox column control focus moves to the GET object ( cAccountName ) where as it should moves to next column of the TXBrowse whic 'Quantity' Column. Thanks Shridhar //-----------------------------------------------------------------------------------------------------------------------// #include 'fivewin.ch' #include 'xbrowse.ch' static aItems := { ; { 'Floppy', 10 }, ; { 'DVD', 100 }, ; { 'Web Cam', 650 }, ; { 'HeadSet', 150 }, ; { 'USB Drive-4', 400 }, ; { 'USB Drive-8', 800 } } //------------------------------------------------------------------// function Main() local oDlg, oBrw, oFont local aBill := { ; { 'Floppy', 10,"BOX", 300, .t., 10 }, ; { 'DVD', 100,"PCS", 10, .f., 0 } } local aoGET := array(10) local aoSAY := array(10) LOCAL cAccountName := space(30) SetGetColorFocus() DEFINE FONT oFont NAME 'TAHOMA' SIZE 0,-12 DEFINE DIALOG oDlg SIZE 640,400 PIXEL ; FONT oFont TITLE 'INVOICE' @20 , 10 Say aoSAY[1] VAR "Account" PIXEL SIZE 40,10 OF oDlg @20, 55 GET aoGET[1] VAR cAccountName PICTURE "@!" ; PIXEL size 150, 9 ; OF oDlg UPDATE @ 40,10 XBROWSE oBrw SIZE 300,120 PIXEL OF oDlg ; COLUMNS 1,2,3,4,5,6 ; HEADERS 'Item', 'Rate', 'Unit', 'Quantity', 'Dis', 'Discount' ; PICTURES nil, '9,999.99',nil, '9,99,999', nil, '99.99 %' ; ARRAY aBill ; CELL LINES FOOTERS FASTEDIT AEval( oBrw:aCols, { |oCol| oCol:nEditType := EDIT_GET } ) AEval( oBrw:aCols, { |oCol| oCol:bOnChange := { || oBrw:MakeTotals(), oBrw:RefreshFooters() } } ) // Create a caculated column Amount based on Quantity, Value and Discount oBrw:Amount := { || oBrw:Quantity:Value * oBrw:Rate:Value * ; ( 1 - oBrw:Discount:Value * 0.01 ) } WITH OBJECT oBrw:Unit :nEditType := EDIT_LISTBOX :aEditListTxt := {"BOX","PCS","KG","LTR"} END WITH OBJECT oBrw:Amount :cEditPicture := '9,99,999.99' :nTotal := 0 // this and next line tell the browse to auto total :lTotal := .t. END WITH OBJECT oBrw:Discount :bOnChange := { |oCol,uOldVal| oBrw:Dis:Value := ( oCol:Value != 0 ), ; oBrw:MakeTotals(), oBrw:RefreshFooters() } :bEditValid := { |oGet,x| x := oGet:oGet:VarGet(), ( x >= 0 .and. x <= 99 ) } END // need to add bEditValid for other numeric columns also WITH OBJECT oBrw:Dis :SetCheck() :bOnChange := { |oCol| If( oCol:Value, nil, ; ( oBrw:Discount:Value := 0, oBrw:MakeTotals(), oBrw:Refresh() ) ) } END WITH OBJECT oBrw:Item :nEditType := EDIT_BUTTON :AddBmpFile( 'e:\fwh\bitmaps\16x16\find2.bmp' ) :nBtnBmp := 1 :bEditBlock := { || SelectItem( oBrw ) } END WITH OBJECT oBrw :nStretchCol := 1 :bPastEof := { || ExtendRow( oBrw ) } :bChange := { || BrwChangeRow( oBrw ) } END oBrw:MakeTotals() oBrw:CreateFromCode() ACTIVATE DIALOG oDlg CENTERED RELEASE FONT oFont return nil static function ExtendRow( oBrw ) // Pressing down arrow while on the last row creates a new row // Even after finishing editing of the last row also creates a new row and ready for edit if oBrw:nArrayAt == Len( oBrw:aArrayData ) .and. ! Empty( ATail( oBrw:aArrayData )[ 1 ] ) AAdd( oBrw:aArrayData, { '', 0, 0, .f., 0 } ) oBrw:GoDown() oBrw:GoLeftMost() endif return nil static function BrwChangeRow( oBrw ) if Len( oBrw:aArrayData ) > 1 .and. ; oBrw:nArrayAt < Len( oBrw:aArrayData ) .and. ; Empty( ATail( oBrw:aArrayData )[ 1 ] ) // If the newly appended row is empty, delete it ASize( oBrw:aArrayData, Len( oBrw:aArrayData ) - 1 ) oBrw:Refresh() endif return nil //------------- Incremental Browse for selection of Item --------------- // static function SelectItem( oBillBrw ) local oDlg, oItems, oFont DEFINE FONT oFont NAME 'TAHOMA' SIZE 0,-12 DEFINE DIALOG oDlg SIZE 300,300 PIXEL TITLE 'Select Item' FONT oFont @ 10,10 XBROWSE oItems SIZE 130,100 PIXEL OF oDlg ; AUTOCOLS ; HEADERS 'Item', 'Rate' ; PICTURES nil, '9,999.99' ; ARRAY aItems ; AUTOSORT ; // Xbrowse makes incremental seek blocks only when autosort is true CELL LINES ; ON DBLCLICK ( SetValues( oItems, oBillBrw ), oDlg:End(), oBillBrw:SetFocus() ) // Following line is what all is needed for incremental browse // Rest of the work is done by xbrowse @ 115,10 SAY oItems:oSeek PROMPT oItems:cSeek ; SIZE 130,10 PIXEL OF oDlg ; COLOR CLR_RED,CLR_YELLOW UPDATE @ 130,055 BUTTON 'Select' SIZE 40,12 PIXEL OF oDlg ; ACTION ( SetValues( oItems, oBillBrw ), oDlg:End(), oBillBrw:SetFocus() ) @ 130,100 BUTTON 'Cancel' SIZE 40,12 PIXEL OF oDlg ACTION oDlg:End() oItems:bKeyChar := { |n| If( n == 13, ( SetValues( oItems, oBillBrw ), oDlg:End() ), nil ) } oItems:nStretchCol := 1 oItems:CreateFromCode() ACTIVATE DIALOG oDlg CENTERED ON INIT ( oItems:GoTop(), oItems:SetFocus(), .f. ) RELEASE FONT oFont return nil static function SetValues( oItems, oBillBrw ) local nAt nAt := AScan( oBillBrw:aArrayData, { |a| Trim( a[ 1 ] ) == Trim( oItems:Item:Value ) } ) if nAt > 0 oBillBrw:nArrayAt := nAt oBillBrw:Refresh() Eval( oBillBrw:bChange ) else WITH OBJECT oBillBrw :Item:Value := oItems:Item:Value :Rate:Value := oItems:Rate:Value if Empty( :Quantity:Value ) :Quantity:Value := 1 endif :MakeTotals() :RefreshCurrent() :RefreshFooters() END endif return nil //--------------- End of Incremental Browse for Selection ---------------- //
** Nuevo ** Control ListView
Olá Oskar, Outro recurso interessante seria a ordenação ascendente/descendente por coluna <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Seria possível isto ? Gracias, Rossine.
** Nuevo ** Control ListView
Olá Oskar, Vou continuar esta conversa no seu forum <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Obrigado, Rossine.
** Nuevo ** Control ListView
Gracias Oskar!!! Salu2 Maurilio
** Nuevo ** Control ListView
La pregunta de las 1000 lochas, en que version de FWH puedo usar este LIST? Tengo FWH 2.4, no he podido actualizarme a la mas reciente..gracias.
*** Curso de C para programadores Harbour.
Hace unos días algunos compañeros me preguntaron por aquel curso de C para Harbour que se quedó el tintero... Lo retomamos? Me gustaría saber quién se apunta... Si tenéis alguna sugerencia de los temas para tratar. Se admiten sugerencias. A ver si sumamos 15 alumnos al menos!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
*** Curso de C para programadores Harbour.
Me apunto! Primera fila. [emoji16] Enviado desde mi moto g(9) plus mediante Tapatalk
*** Curso de C para programadores Harbour.
Me apunto. El ultimo de la fila <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> Saludos.
*** Curso de C para programadores Harbour.
Manu, Una fantastica idea <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> . Siempre va vien reciclarse. Cuenta conmigo C.
*** Curso de C para programadores Harbour.
Hola Manu Me apunto. Hablanos de costo y duracion
*** Curso de C para programadores Harbour.
Esta podría ser una propuesta del contenido: [code=C:1k4xxsgp]<div class="c" id="{CB}" style="font-family: monospace;"><br />Harbour y Lenguaje C.<br /><span style="color: #202020;">El</span> sistema extendido.<br /><br /><span style="color: #202020;">Prop</span>ósito del curso<br />Sistema extendido y el Item API.<br /><span style="color: #202020;">C</span>ómo compilar código C en nuestros PRG<br />La pila de Harbour<br />Crear funciones en C que se pueden utilizar desde PRG.<br /><span style="color: #202020;">Paso</span> de parámetros de todos los tipos C, M, N, L, A, H<br />Retorno de variables de tipo C, M, N, L, A, H<br />Paso de variables por referencia C, M, N, L, A, H<br />Manipulación de variables dentro de la función en C.<br /><span style="color: #202020;">Reserva</span> de memoria dinámica y posterior liberación.<br /><span style="color: #202020;">Los</span> punteros de C.<br /><span style="color: #202020;">Manipulaci</span>ón de arrays de entrada y salida: Vectores y arrays multidimensionales<br />Manipulación de tablas hash<br />Creando nuestros propios tipos: uso de <span style="color: #993333;">typedef</span>.<br /><span style="color: #202020;">Concepto</span> de estructura y ejemplo.<br /><span style="color: #202020;">Manipulaci</span>ón de estructuras, uso de funciones puente.<br /><span style="color: #202020;">Uso</span> de funciones librerías externas. <br /><span style="color: #202020;">El</span> mundo al revés: Llamada desde C a funciones de Harbour?<br />Pon una DLL en tu vida: “Wrappear” funciones de una librería dinámica. <br /><span style="color: #202020;">Creando</span> nuestras propias librerías.<br /> </div>[/code:1k4xxsgp] Y podríamos usar para el ejemplo la creación de funciones para manejar SQLite. Al final tendríais una librería para usar SQLite en vuestros programas. Qué os parece?
*** Curso de C para programadores Harbour.
Buenas Manu !!! Me apunto, me da igual la fila <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Muchas gracias. Saludos,
*** Curso de C para programadores Harbour.
Manu buenas tardes cuenta conmigo !! un abrazo
*** Curso de C para programadores Harbour.
no se nada de C pero me apunto me gusta aprender mas <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> Saluditos <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
*** Curso de C para programadores Harbour.
A lo largo de esta semana os pondré en qué va a consistir el curso y el material con el que vais a contar. Y precio que va a tener, que os adelanto que será muy poco. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
*** Curso de C para programadores Harbour.
+1. Incluiría algo de comunicaciones serie y conexión con equipos por el puerto USB. También para el análisis y manejo de cadenas. Algo para Linux también.
*** Curso de C para programadores Harbour.
Buenas... Conociendo al maestro y viendo una parte del temario, es más que suficiente para hacerle confianza ! Me apunto, en espera de conocer calendario, horarios, etc
*** Curso de C para programadores Harbour.
Yo me apunto, pero mejor que lo del wrapper a Sqllite sería mejor a un diseñador de informes, como Fast Report o este: <!-- m --><a class="postlink" href="https://www.stimulsoft.com/en">https://www.stimulsoft.com/en</a><!-- m -->
*** Curso de C para programadores Harbour.
Me apunto a este curso, no se nada de C y con estos maestros, esperando horario. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
*** Curso de C para programadores Harbour.
Sin dudarlo, a la espera quedo.
*** Curso de C para programadores Harbour.
¿ Y qué motivo puede haber para no dar el curso en el ámbito de los cursos que se dan los viernes por la tarde en el foro de mod-Harbour ?
*** Curso de C para programadores Harbour.
Me apunto a este curso, gracias Manu! Saludos. Carlos
*** Curso de C para programadores Harbour.
Hola Manu, Me parece muy bueno, me apunto al curso, Puedes dar una idea del costo y duracion, Saludos, Carito
*** Curso de C para programadores Harbour.
cuenta conmigo
*** Curso de C para programadores Harbour.
A mi me interesa, pero siempre que como ejemplo veamos FastReport o un lector biométrico por ejemplo, porque el tema de SQLite ya está resuelto, y no es cuestión de reinventar la rueda. Muchas gracias.
*** Curso de C para programadores Harbour.
Hola, buen dia Me apunto tambien, y quedo pendiente de lo que indiques... Saludos
*** Curso de C para programadores Harbour.
[url:112amkiv]https&#58;//www&#46;amazon&#46;es/Advanced-Programming-Clipper-Stephen-Straley/dp/0201517353[/url:112amkiv]
*** Curso de C para programadores Harbour.
[quote="Antonio Linares":1ipccqhh][url:1ipccqhh]https&#58;//www&#46;amazon&#46;es/Advanced-Programming-Clipper-Stephen-Straley/dp/0201517353[/url:1ipccqhh][/quote:1ipccqhh] Interesante Antonio, ¿Muchas diferencias con Harbour?
*** Curso de C para programadores Harbour.
Si que hay diferencias pero la base es la misma <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
*** Curso de C para programadores Harbour.
Me uno <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
*** Curso de C para programadores Harbour.
[quote="Antonio Linares":ncndleet][url:ncndleet]https&#58;//www&#46;amazon&#46;es/Advanced-Programming-Clipper-Stephen-Straley/dp/0201517353[/url:ncndleet][/quote:ncndleet] Thanks Master. Purchased. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Jose
*** Curso de C para programadores Harbour.
Muy Interesante, yo me apunto al curso. Gracias
*** Curso de C para programadores Harbour.
Master Antonio, ¿No has pensado en escribir un libro sobre estos temas, o sobre programación? Es un reto muy bonito escribir un libro la verdad. Saludos cordiales
*** Curso de C para programadores Harbour.
Excelente tu sugerencia Eduardo. Algo asi como '"Un tutorial de C para usuarios de Harbour" Saludos, George
*** Curso de C para programadores Harbour.
Me apunto yo también. Gracias
*** Curso de C para programadores Harbour.
Buena alternativa !! Me apuntro tambien ,, Donde firmo !!! y Gracias por adelantado...
*** Curso de C para programadores Harbour.
Olá, Também tenho interesse. Alexandre Pereira Belo Horizonte/MG Brasil <!-- e --><a href="mailto:alexandre@declatecnologia.com.br">alexandre@declatecnologia.com.br</a><!-- e -->
*** Curso de C para programadores Harbour.
[quote="mgsoft":3viv6ura]Master Antonio, ¿No has pensado en escribir un libro sobre estos temas, o sobre programación? Es un reto muy bonito escribir un libro la verdad. Saludos cordiales[/quote:3viv6ura]Hola. Ojalá Antonio escribiera un libro, yo lo compraría, pero desgraciadamente el día tiene 24 horas, escribir un libro requiere un año como mínimo a tiempo completo, yo por lo menos prefiero que Antonio programe y que siga con esa chispa que ha hecho conseguir mod_harbour y mejorando FWH Todos sabemos lo que sufre al principio un usuario de FWH, la falta de manuales, deduzco que esa Labor técnica no le gusta mucho. tener en cuenta que los escritores de libros no son grandes programadores o no se dedican a la programación. No hay muchos casos de programadores geniales que hayan escrito libros, es una labor especializada que la mayoría de ellos huye, prefieren la labor creativa de programar. Saludos. Jose Jise Enviado desde mi POCOPHONE F1 mediante Tapatalk
*** Curso de C para programadores Harbour.
Hola, El libro no tiene por qué ser necesariamente sobre C, sino sobre programación en general, POO, etc., sobre lo cual Antonio tiene una experiencia única y sería una lástima que se perdiera... Saludos
*** Curso de C para programadores Harbour.
Hola, No se hacen libros porque luego poca gente tiene interés en comprarlos y mucho en copiarlos. Recuerdo la ayuda de xHarbour... El asunto se debería organizar como un grupo suficiente que presente un proyecto a Antonio o a quien sea: Tantos somos y tanto capital aportamos para que se pueda iniciar el libro. Asi se hizo con la Charly-charla sobre Mercury y todo el mundo quedó muy contento. El verdadero libro de Antonio es su codigo y en el ultimo año sus magnificos videos, hasta que uno que casi linda con la patagonia vino a fastidiar el invento. Alexander Kresin y la ayuda de Petewg son muy buenos para conocer sobre harbour internals. Los fuentes de Harbour tambien: El otro dia estuve viendo una clase en Samples, TTable, que me dejó muy sorprendido: Al menos en mi caso lo más cercano a lo que ocurre es que no hemos, ni tan siquiera, mirado los ejemplos de Harbour Un libro que hable extendidamente, por ejemplo de objetos, para mi es una perdida de tiempo: es un asunto muy trillado. Incluso Antonio hizo un manual del Objects que sigue vigente, aunque deprecated Mis dos céntimos