topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Calculation with an array | Having a total example € 3.50 I have to break it so you can turn on a series of buttons that have a different price
I Explain You
I have an array aImports:={200,100,50,20,10,5,3,2,1,0.50,0.20,0.10,0.05}
every record relates to a button
[img:t8txzeyw]https://i.postimg.cc/CLQLTLBL/prezzi.png[/img:t8... |
Calculation with an array | hi Silvio,
try this
[code=fw:2zb4a5ei]<div class="fw" id="{CB}" style="font-family: monospace;">PROCEDURE BinCalc<span style="color: #000000;">(</span>nValue<span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> aImports:=<span style="color: #000000;">{</span><span style="c... |
Calculation with an array | THAKSSSS |
Calculation with an array | [quote="Silvio.Falconi":349y8zuw]Having a total example € 3.50 I have to break it so you can turn on a series of buttons that have a different price
I Explain You
I have an array aImports:={200,100,50,20,10,5,3,2,1,0.50,0.20,0.10,0.05}
every record relates to a button
[img:349y8zuw]https://i.postimg.c... |
Calculation with an array | Silvio, I know you don't like it. But this programme would be a good sample to start with mod harbour.
Many greetings
Otto
[url:3w1ljy4x]https://www.facebook.com/groups/modharbour.club/?multi_permalinks=1090583058162587¬if_id=1648482958093104[/url:3w1ljy4x]
[img:3w1ljy4x]https://mybergland.... |
Calculation with an array | Unfortunately, someone died during the pandemic.
Now it happens that this someone had created a software for the bookstores and therefore it is not possible to update it.
I'm just trying to see if I can redo the program.
For many years I have been doing something but only classic statistics those you find on a... |
Calculation with an array | [quote="Jimmy":1bbvrnhz]hi Silvio,
try this
[code=fw:1bbvrnhz]<div class="fw" id="{CB}" style="font-family: monospace;">PROCEDURE BinCalc<span style="color: #000000;">(</span>nValue<span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> aImports:=<span style="color: #000000;">... |
Calculator | The power of macros -one line of code and a powerful calculator is ready.
Best regards,
Otto
[img:1hckr53j]http://www.atzwanger-software.com/fw/calcb.jpg[/img:1hckr53j]
[img:1hckr53j]http://www.atzwanger-software.com/fw/calca.jpg[/img:1hckr53j]
prg-file
[code=fw:1hckr53j]<div cla... |
Calculator | Otto,
Great contribution. Thanks.
I have a similar one somewhere for dates. You can do, +7 (same day next week), +1 (tomorrow), etc.
Regards,
James |
Calculator | nice too |
Calculator in Get | Anyone have a sample of a calculator that can be included in a Get control which will return the value to the field ?
Thanks. |
Calculator in Get | Hi Tim,
<!-- w --><a class="postlink" href="http://www.reportdesigner.info/downloads/GetCalc.zip">www.reportdesigner.info/downloads/GetCalc.zip</a><!-- w --> |
Calculator in Get | Developed by Timm Sodtalbers:
<!-- m --><a class="postlink" href="http://hyperupload.com/download/02dbcac645/GetCalc.zip.html">http://hyperupload.com/download/02dbcac ... c.zip.html</a><!-- m --> |
Calculator in Get | Thanks. I'll work with that. |
Calculator in Get | Hello Mr.Timm
Simplest way of presenting big things.
Your calculator is very simple and cute.
Keep posting such good things.
BTW I sent a small modification to your code to your email.
Please check its accuracy. But I am getting the required results
with this modification.
Regards
- Ramesh Babu P |
Calculator in Get | Hi Antonio,I am interested in calculator get. Is it in 8.11 or external file? How Can I find it?Thanks, |
Calculator in Get | [quote="Antonio Linares":540unsy8]Developed by Timm Sodtalbers:
<!-- m --><a class="postlink" href="http://hyperupload.com/download/02dbcac645/GetCalc.zip.html">http://hyperupload.com/download/02dbcac ... c.zip.html</a><!-- m -->[/quote:540unsy8]Antonio, no he podido acceder al link. |
Calculator in Get | We have contacted Timm Sodtalbers to get that file again.Hemos contactado con Timm Sodtalbers para conseguir ese fichero de nuevo. |
Calculator in Get | [quote="Antonio Linares":2k9gwd8m]We have contacted Timm Sodtalbers to get that file again.
Hemos contactado con Timm Sodtalbers para conseguir ese fichero de nuevo.[/quote:2k9gwd8m]gracias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Calculator in Get | Thanks |
Calculator in Get | Hi!You will find that file here:<!-- w --><a class="postlink" href="http://www.reportdesigner.info/downloads/GetCalc.zip">www.reportdesigner.info/downloads/GetCalc.zip</a><!-- w --> |
Calculator in Get | Timm,Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->We have placed a copy of it in:<!-- w --><a class="postlink" href="http://www.fivetechsoft.com/files/utilities/getcalc.zip">www.fivetechsoft.com/files/utilities/getcalc.zip</a><!-- w --> |
Calculator in Get | [quote="Timm Sodtalbers":31mio4x2]Hi!
You will find that file here:
<!-- w --><a class="postlink" href="http://www.reportdesigner.info/downloads/GetCalc.zip">www.reportdesigner.info/downloads/GetCalc.zip</a><!-- w -->[/quote:31mio4x2]Tim, It is a nice contribution, thanks!!!Just one thing:[b:31mio4x2]For recent versio... |
Calculator in Get | Thanks Timm |
Calculator in Get | Maestro, que error és este?
[code=fw:33ws2ck0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">c</span>:\FWH1306\samples\GETCALC.exe <span style="color: #000000;">(</span>... |
Calculator in Get | maestro, que error és este?
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=17&t=3961">viewtopic.php?f=17&t=3961</a><!-- l -->
Gracias, saludos. |
Calculator in Get | Joao,
Please try this:
[code=fw:25uhu17m]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br /> =================================================================================<br /> GetCalc.prg - PopUp-Calculator ... |
Calculator in Get | Joao,
Que código hay en esta línea ?
Called from: GETCALC.prg => SHOWCALCULATOR( 48 ) |
Calculator in Get | Gracias Lucas, funcionó perfecto. Very Thanks!!
Regards, saludos. |
Calculator in Get | LOCAL cBuffer := oCurGet:oGet:Buffer
saludos
Wilson |
Calculator in Get | Una posible solución seria (a falta de saber porque ese valor llega nil):
LOCAL cBuffer := If( oCurGet != nil, oCurGet:oGet:Buffer, "" ) // ó nil, según se necesite |
Calculator in Get | [quote="Antonio Linares":3slgdl94]Una posible solución seria (a falta de saber porque ese valor llega nil):
LOCAL cBuffer := If( oCurGet != nil, oCurGet:oGet:Buffer, "" ) // ó nil, según se necesite[/quote:3slgdl94]
Maestro, también no funciona.
Resuelto asi:
<!-- l --><a class="postlink-local" href="http://forums... |
Calculator in Get | Hola,
Usandolo desde la lausula ACTION ,Con este codigo no funciona.
[code=fw:51y77i8e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet<span style="color: #000000;">[</span><span style="color: #000000;">4</s... |
Calculator in Get | REDEFINE GET oGet[4] VAR aDatos[ _PRECIO ] ID 203 OF oDlg PICTURE "@E 999,999.99"
oGet[4] :bKeyDown = {|nKey| IIF( nKey == VK_SPACE, ShowCalculator(oGet[4] ), .T. ) }
the user must only press space bar when the cursor is in this get |
Calculator in Get | Silvio,
Ya lo habia probado de esa manera. Lo que queria era probarlo desde un boton en el GET.
Saludos, |
Calculator revisited | A client recently updated from a DOS version of my software to the Windows version. ( waited 15 years to do so ).
He is obsessed with the fact that he had a calculator in GET fields in the DOS version ( some people just can't let go ). I don't have it in those fields under Windows because a lot of the fields trigger... |
Calculator revisited | Hello,
I use getcalc from Tim Sodtalbergs <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=71631">viewtopic.php?p=71631</a><!-- l -->
Regards, |
Calculator revisited | Tim,
You can implement it quite easily using:
... GET ... ACTION WinExec( "calculator" )
If it is fine for you, then I help you to recover the value shown.
Of course it is even better to use a FWH calculator. Please try MsgCalc() from FWH |
Calculator revisited | Or Timm's class which seems to work very fine:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=159435#p159435">viewtopic.php?p=159435#p159435</a><!-- l -->
the solution that you prefer <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-)... |
Calculator revisited | Hi Antonio,
Right now I'm using an inline GET calculator. I would love to see how to recover the value from the WIndows Calculator since it's traditional. I'm also going to play with MsgCalc( ) which might work out.
Thanks. |
Calculator revisited | Tim,
The problem with the Windows calculator is that unless the user press the "copy" menu option in the calculator, its value will not be saved.
If clicked, then we can retrieve its value from the clipboard. Its easy <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Calculator revisited | OK ... I took MsgCalc and re-did the layout a bit to be more conforming to my program ... so it's consistent with the existing fonts / brush etc. I will work OK ...
One quick question. I have a bitmap within a get ... no problem. However, would it be possible to put 2 bitmaps in there with 2 different action statem... |
Calculator revisited | Tim,
[quote:3i6irm1q]One quick question. I have a bitmap within a get ... no problem. However, would it be possible to put 2 bitmaps in there with 2 different action statements ?[/quote:3i6irm1q]
Gee, give him the moon and he wants the stars.
Maybe you could just put a button next to the Get for the second action.
... |
Calculator revisited | James,
We need to do lunch !
Oh ... I have the button next to the get already. It works fine, but I have a crotchety old client who likes to point out its "different"
Tim |
Calculator revisited | Tim,
[quote:34v8bal3]We need to do lunch ![/quote:34v8bal3]
We do. Let me know when you are going to be in Carlsbad next time.
[quote:34v8bal3]Oh ... I have the button next to the get already. It works fine, but I have a crotchety old client who likes to point out its "different"[/quote:34v8bal3]
My philosophy is t... |
Calculator revisited | This is a rather funny situation. The guy has been running the DOS system forever, and kept "not updating" to the Windows version until the XP issue arose. However, he paid all those (15) years for the updates ... so he has "sort of paid" for some special attention.
I'm in Carlsbad often. |
Calculator revisited | May be usefull to you:
[code=fw:1b73zsde]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br /> TCALC.PRG <br /> CLASE QUE PERMITE PONER UNA CALCULADORA CON ROLLO DE PAPEL VIRTUAL.<br /> Necesita el fichero de recursos: TCALC.RC<br /><br /> Prime... |
Calculator revisited | Necesita el fichero de recursos: TCALC.RC
Regards, |
Calculator revisited | Aquí lo copio:
[code=fw:1x5yknyq]<div class="fw" id="{CB}" style="font-family: monospace;">Calculadora <span style="color: #0000ff;">DIALOG</span> <span style="color: #000000;">198</span>, <span style="color: #000000;">20</span>, <span style="color: #000000;">209</span>, <span style="color: #000000;">176</span><br /><... |
Calculator revisited | Está escrito con el WorkShop.
It was written with WorkShop. |
Calculator revisited | Receiving syntax errors for oBtnDel and oBtn0.
When commenting those out, it will build.
I suspect the problems are in the IIF( ) syntax, but I'm not sure yet what goes where.
Thanks. |
Calculator revisited | Very Good!!
[code=fw:1ibo3gi4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br /> TCALC.PRG <br /> CLASE QUE PERMITE PONER UNA CALCULADORA CON ROLLO DE PAPEL VIRTUAL.<br /> Necesita el fichero de recursos: TCALC.RC<br /><br /> Primera Ve... |
Calculator revisited | The code for those two buttons still generates a syntax error.
I found some extra commas on those two buttons and removed them. Now it builds |
Calculator revisited | I have it working now. I like the button sizing and the "tape" it displays.
Here is a thought. When a user is in an active numeric get, if they pressed the F12 key, it would be nice for the calculator to popup with the current get value, then a calculation could be made on it, and the value returned to the current g... |
Calculator revisited | Friend,
I I use a Math function as sin or cos with getcalc of Timm it make error
do you have a solution for it ? |
Calculator revisited | Tim,
You could use:
SetKey( VK_F12, { || MyCalculator( GetTextWindow( GetFocus() ) ) } ) |
Calculator revisited | Is GetTextWindow( ) an actual function ? The compiler doesn't think so.
The calling procedure, in MAIN( ), for the suggested calculator is this:
public oCalc:=tCalc():new()
setkey(VK_F10, {|| oCalc:calculadora(oWnd,'@E 9,999,999.9999 ')})
What would be nice is for us to detect the current GET, if one is pr... |
Calculator revisited | Tim,
[quote="TimStone":1y7ezw5t]Is GetTextWindow( ) an actual function ? The compiler doesn't think so.[/quote:1y7ezw5t]
[code=fw:1y7ezw5t]<div class="fw" id="{CB}" style="font-family: monospace;">GetWindowText<span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:1y7ezw5t... |
Calculator revisited | Timm,
Can you please post the fixed code?.
Thanks |
Calculator revisited | I found the two buttons listed earlier in this thread had IIF( ) statements with 4 parameters instead of 3. In each case there was an extra comma ( , ). Remove those and it will build.
The error only occurred with Harbour and not xHarbour, although it was a clear error.
I don't want to post my revision because I c... |
Calculator revisited | Tim,
It was a typo in my code, please use the function name that Enrico says, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Calculator revisited | I do that a lot these days. My excuse is that I'm getting old ... |
Calculator revisited | Nah, we should love our mistakes <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
We are humans <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Calculator revisited | Antonio,
can we use math function on getcalc ?
sample as sin() cos() tan()
I tried compiling get calc with a function but when I insert the function it give me error |
Calculator revisited | Silvio,
As full source code is provided you can modify your calculator the way you may need it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Calculator revisited | Antonio, yes of course, But I not Know How I must make to run also extern functions... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
Calculator revisited | Silvio,
Those functions are part of harbour, as far as I know. |
Calculator revisited | Fixed code
[code=fw:xy0gthwu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> oBtnDel <span style="color: #0000ff;">ID</span> <span style="color: #000000;">426</span> <span style="color: #0000ff;">OF... |
Calculator revisited | Antonio I mean ... with Getcalc of Tim .. |
Calculo de SIZE xxxx de un GET | Estimados
Se puede calcular el tamaño (de ancho) del parametro de SIZE xx,xx de un GET segun el tamaño de la variable de Caracteres o numerica (tiendo en cuenta el tamaño de Picture '9999 etc...) ?
Muchas gracias
david
argentina |
Calculo de SIZE xxxx de un GET | Hola amigo...
Prueba lo siguiente:
[code=fw:5zp6eoy5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span>STR<span style="color: #000000;">(</span>Len<span style="color: #000000;">(</span>ALLTRIM<span style="color:... |
Calculo de distancias por GPS con funciones del MYSQL | Muy estimados amigos.
Quiero compartir una rutina de calculo de distanacias con datos del GPS, pueda que le sirva alguien por ahi.. ami me trabaja de maravillas con mis sistemas.
function CalculaDistancias()
// esta vatiables son recogidas de la string GPRMC
Latitud1 := ALLTRIM(STR(Op:GPGGA_cLat))
Longit... |
Calculo de distancias por GPS con funciones del MYSQL | Oscar,
Cómo creas Op ? |
Calculo de distancias por GPS con funciones del MYSQL | Perdon de me fue.
Si Op: una clase que anda en el foro y se llama Public.prg con varios aportes incluyendo Aportes: [ER] Ray Islas.
Simplemente es crear variables las cuales puedes controlar su contenido ya hacerlas publicas mas ordenado y contraldo.
Trabaja muy bien ahora el que quiera un resultado en millas ... |
Calculo de distancias por GPS con funciones del MYSQL | Está muy bien pero el que no trabaje con mysql tendría que enlazar alguna lib como Eagle1 o HDO para MySQL...
no sería más fácil usar la lib hbct.lib de Harbour?
Creo que el SELECT de MySQL se podría traducir por:
[code=fw:3dvusxt6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00... |
Calculo de distancias por GPS con funciones del MYSQL | If using MySql server version 5.7.1 or later, we can consider using MySql function
[code=fw:20015j55]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ST_Distance_Sphere<span style="color: #000000;">(</span> POINT<span style="color: #000000;">(</span> lat1, long1 <span style="color: #000000;">... |
Calculo de distancias por GPS con funciones del MYSQL | [quote:17nxxgjd]SELECT (acos (sin (radians (LATITUD_1)) * sin (radians (LATITUD_2)) +
cos (radians (LATITUD_1)) * cos (radians (LATITUD_2)) *
cos (radians ( LONGITUD_1) - radians (LONGITUDE_2))) * 6378) as
distancePoint1Point2;
[/quote:17nxxgjd]
Should Earth's radius be taken as 6371 instead of 6378 ? |
Calculo de distancias por GPS con funciones del MYSQL | Compañeros
Gracias por compartir con nosotros su conocimiento, gracias
My friends
Thank you very much indeed as we learn from others, thank you very much for sharing.
Xmanuel gracias por compartir dime esta funcion es para Xharbour ?? o solo para Harbour. , hbct.lib |
Calculo de distancias por GPS con funciones del MYSQL | Perdona el retraso...
Está en los dos:
Harbour -> hbct.lib
xHarbour -> ct.lib |
Calculo de division...(Resuelto) Gracias | Hola Buenas tardes a todos los amigos de fivewin, de la manera mas atenta les solicito su ayuda, que me ayuden a como hacer la division de IVA del importe total dado, tengo en la base de datos TASAIVA 16.00 y quiero que de mi importe acumulado del precio total, por ejemplo: (545*16)/100 me da = 87.20 y no es el dato qu... |
Calculo de division...(Resuelto) Gracias | si entendi tu pregunta
[code=fw:2k109kr2]<div class="fw" id="{CB}" style="font-family: monospace;">porIva := VAL<span style="color: #000000;">(</span> <span style="color: #ff0000;">"1."</span> + ltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>field->iva<span style="color... |
Calculo de division...(Resuelto) Gracias | [quote="Patricio Avalos Aguirre":x4rhd7l2]si entendi tu pregunta
[code=fw:x4rhd7l2]<div class="fw" id="{CB}" style="font-family: monospace;">porIva := VAL<span style="color: #000000;">(</span> <span style="color: #ff0000;">"1."</span> + ltrim<span style="color: #000000;">(</span>str<span style="color: #000000;... |
Calculo de division...(Resuelto) Gracias | Adrian:
Vamos por partes
Si partes de una base de 545.00, para obtener el importe del IVA haces
(545 * 16)/ 100 = 87.20
Entonces 545.00 + 87.20 = 632.20 como importe total
Ahora en reversa, para obtener el importe del IVA tomando como base el importe total, primero
debes obtener la base (antes de iva)
632.20/(1 +... |
Calculo de division...(Resuelto) Gracias | [quote="Armando":2ybfwple]Adrian:
Vamos por partes
Si partes de una base de 545.00, para obtener el importe del IVA haces
(545 * 16)/ 100 = 87.20
Entonces 545.00 + 87.20 = 632.20 como importe total
Ahora en reversa, para obtener el importe del IVA tomando como base el importe total, primero
debes obtener la base (... |
Calculo de nLogPixY en TReport | Hola amigos del foro:
Nuevamente con problemas en los reportes, utilizando la clase TReport
El problema surge cuando cambio de impresora, y creo que es por el calculo del valor de [b:3usy0j6h]nLogPixY[/b:3usy0j6h]
Tengo un reporte (FACTURA) y segun la impresora imprime:
[list:3usy0j6h][b:3usy0j6h]PDFCreator:[/b:3us... |
Calculo de nLogPixY en TReport | Algo parecido me pasa a mi con una impresora concreta : una brother hl-5350Dn . El problema esta aquí ( en mi caso , codigo en rprinter.prg )
[code=fw:24xn52e3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #B900B9;">// nAspect := ::oDevice:nHorzSize() / ::oDe... |
Calculo de nLogPixY en TReport | Al parecer no entendieron el problema:
El valor 600 es un estandar que windows define (de alguna forma, para cada tipo de impresora).
Por lo tanto si yo quiero establecer el margen superior en 2 pulgadas lo que se hace en oRpt:Margin() es:
[code=fw:3bxhqx36]<div class="fw" id="{CB}" style="font-family: monospace;">:... |
Calculo del RFC México | Saludos Colegas,
echandole un vistazo a las antiguas news encontré que ya alguien había solicitado lo mismo.
La rutina para calcular el RFC ¿Está posteada en algún lugar?
Gracias
Fernando Leal
México, DF |
Calculo del RFC México | Fernando, esta usamos nosotros espero te sirva
Saludos
Joel Andujo
[code:3nkg4cx1]
*----------------------------*
Func RFC_Val(xvar)
rfccad:=upper(xvar)
xvar :=rfccad
rfccad:=strtran(rfccad,'-','')
if empty(left(rfccad,4))
tone(300,2)
if msgyesn... |
Calculo del RFC México | Yo tengo algo parecido que solo valida las letras y la fecha... ya conseguí las reglas donde dice algunas cosas como
Si tiene solo un apellido usar...
Si la cadena resultante es ofensiva como CACA cambiar la ultima letra por una X. etc, etc.
Saludos |
Calculo del digito de control de cuenta bancaria | Ruego por favor si alguien sabe el algoritmo utilizado para el calculo del digito de control de un numero de cuenta bancaria.
Gracias |
Calculo del digito de control de cuenta bancaria | Julio,
Aquí está el código en php. Es fácil pasarlo a Clipper:
<!-- m --><a class="postlink" href="http://bulma.net/body.phtml?nIdNoticia=1396">http://bulma.net/body.phtml?nIdNoticia=1396</a><!-- m --> |
Calculo del digito de control de cuenta bancaria | Aquí la tienes para clipper:
cBanco:=SPACE(4)
cSucursal:=SPACE(4)
cRefer2:=SPACE(10)
@ 24,0 SAY SPACE(80)
@ 24,4 SAY "Introduzca Banco, Sucursal y N£m. de cuenta......"
DibujaCuadro(11,8,15,70, "W+/B",.T.)
@ 11,10 SAY " CALCULO DE DIGITOS DE CUENTA BANCARIA " COLOR "W+/R"
SetCursor(3)
@ 13,15 SAY " Banco Sucurs... |
Calculo del digito de control de cuenta bancaria | Function cDcontrol( cEntidad, cOficina, cCuenta )
Local nSuma, nPos, nResto, cDc
Local anPeso := {1,2,4,8,5,10,9,7,3,6}
if empty(cCuenta)
return cCuenta
Endif
// Primer digito de control
nSuma := 0
FOR nPos := 1 TO 8
nSuma += Val( SubStr( cEntidad + cOficina, nPos, 1 ) ) * anPeso[nP... |
Calculo del digito de control de cuenta bancaria | Muchas gracias a todos, no solo el algoritmo, ya esta la función hecha.
Lo dicho muy agradecido. Un saludo. |
Calendar | Hola,Sabria deirme alguien si existe una clase o funcion en FWH para menejar el calendario.Saludos, |
Calendar | [quote="alfonso":2pfz9s8a]Hola,
Sabria deirme alguien si existe una clase o funcion en FWH para menejar el calendario.
Saludos,[/quote:2pfz9s8a][code:2pfz9s8a]
#Include "Fivewin.ch"
#Include "Dtpicker.ch"
FUNCTION MAIN()
SET DATE TO FRENCH
SET CENTURY On
SET EPOCH TO 1961
Recursos()
Codig... |
Calendar / Appointment | I don't suppose anyone has written a Calendar / Appointment book using pure FW/xHB code, but perhaps someone has found a control set they can link in successfully. I would like to update an old scheduler program ( 32 bit modification of an original Grumpfish program ) to the newer look and feel of true Windows schedul... |
Calendar / Appointment | Tim,
I remember that Paco García, from Canalfive, has a calendar with appointments, and a beta of a scheduler. Ask him for this products.
Regards,
José Luis |
Calendar / Appointment | They have a date picker, but no full calendar with appointment scheduling, etc. The key is the display of the appointment book. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.